diff options
author | George Kadianakis <desnacked@riseup.net> | 2019-08-19 18:03:51 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-08-19 18:03:51 +0300 |
commit | 19e19c1fa8d138b36b115a6cf5e1993df08c3df3 (patch) | |
tree | 369661f55367088b88f09a70d7d8a78e7e0d1216 /src/test/test_btrack.c | |
parent | e411fcabd7f52f2ddb108dd3973be944a0e0ef2b (diff) | |
parent | 75ea7514e1e87124bf250b36a1a1c243b6b0cea0 (diff) | |
download | tor-19e19c1fa8d138b36b115a6cf5e1993df08c3df3.tar.gz tor-19e19c1fa8d138b36b115a6cf5e1993df08c3df3.zip |
Merge branch 'tor-github/pr/1154'
Diffstat (limited to 'src/test/test_btrack.c')
-rw-r--r-- | src/test/test_btrack.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/test_btrack.c b/src/test/test_btrack.c index 9e5d0d0723..21e88a57b6 100644 --- a/src/test/test_btrack.c +++ b/src/test/test_btrack.c @@ -44,6 +44,8 @@ test_btrack_launch(void *arg) { orconn_state_msg_t conn; ocirc_chan_msg_t circ; + memset(&conn, 0, sizeof(conn)); + memset(&circ, 0, sizeof(circ)); (void)arg; conn.gid = 1; @@ -93,6 +95,8 @@ test_btrack_delete(void *arg) { orconn_state_msg_t state; orconn_status_msg_t status; + memset(&state, 0, sizeof(state)); + memset(&status, 0, sizeof(status)); (void)arg; state.gid = 1; |