mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-18 11:09:36 +00:00
5ea054b2645bb435c9dbbd9c1580201b8164e459
memset(p+old, 0, new-old) was missing the sizeof(unsigned char *) multiplier. p is unsigned char**, so each slot is pointer-sized (8 instead of 1 byte on 64-bit), yet only new-old bytes were zeroed, leaving newly allocated DNSSEC workspace pointer slots with garbage values. Signed-off-by: Dominik <dl6er@dl6er.de>
Languages
C
94.3%
Perl
2.2%
HTML
1.2%
Shell
1%
Makefile
0.6%
Other
0.6%