summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/packettest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/packettest.c b/test/packettest.c
index 6c82d04414..83168c0261 100644
--- a/test/packettest.c
+++ b/test/packettest.c
@@ -302,7 +302,7 @@ static int test_PACKET_forward(void)
static int test_PACKET_buf_init(void)
{
- unsigned char buf1[BUF_LEN];
+ unsigned char buf1[BUF_LEN] = { 0 };
PACKET pkt;
/* Also tests PACKET_remaining() */