mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 02:08:24 +00:00
efb8f104502c0d8efcd45101a767225042ef21d3
When a new IPv6 address is being added to a dhcp_config struct, if there is anything invalid regarding the prefix it looks like there is a potential memory leak. ret_err_free() should be used to free it. Also, the new addrlist struct is being linked into the existing addr6 list in the dhcp_config before the validity check, it is best to defer this insertion until later so an invalid entry is not present, since the CONFIG_ADDR6 flag might not have been set yet. Signed-off-by: Brian Haley <haleyb.dev@gmail.com>
Description
No description provided
Languages
C
94.2%
Perl
2.3%
HTML
1.2%
Shell
1.1%
Makefile
0.6%
Other
0.6%