aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_btrack.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2019-08-19 18:03:51 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2019-08-19 18:03:51 +0300
commit19e19c1fa8d138b36b115a6cf5e1993df08c3df3 (patch)
tree369661f55367088b88f09a70d7d8a78e7e0d1216 /src/test/test_btrack.c
parente411fcabd7f52f2ddb108dd3973be944a0e0ef2b (diff)
parent75ea7514e1e87124bf250b36a1a1c243b6b0cea0 (diff)
downloadtor-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.c4
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;