commit | fa78573778cb23337f67f5d0c9de723169919047 | [log] [tgz] |
---|---|---|
author | Simon Kelley <simon@thekelleys.org.uk> | Fri Jul 22 20:56:01 2016 +0100 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Fri Jul 22 20:56:01 2016 +0100 |
tree | 368fd0ba3176370d029139f67e3e4606e9238d54 | |
parent | cd2ddb9904a7010c16dd70f7a6d361f1c346b5db [diff] [blame] |
Zero packet buffers before building output, to reduce risk of information leakage.
diff --git a/src/slaac.c b/src/slaac.c index 07b8ba4..bd6c9b4 100644 --- a/src/slaac.c +++ b/src/slaac.c
@@ -146,7 +146,7 @@ struct ping_packet *ping; struct sockaddr_in6 addr; - save_counter(0); + reset_counter(); if (!(ping = expand(sizeof(struct ping_packet)))) continue;