Zero packet buffers before building output, to reduce risk of information leakage.

This commit is contained in:
Simon Kelley committed 2016-07-22 20:56:01 +01:00
1 parent cd2ddb9904
commit fa78573778
8 files changed
+30 -6

No files matched your search

+1 -1
View File
@@ -146,7 +146,7 @@ time_t periodic_slaac(time_t now, struct dhcp_lease *leases)
struct ping_packet *ping;
struct sockaddr_in6 addr;
save_counter(0);
reset_counter();
if (!(ping = expand(sizeof(struct ping_packet))))
continue;