Simon Kelley 66d9658f5f Fix crash with empty DHCP SNAME option.
dhcp-option=66,

sets the servername to nothing, and causes a segfault at DHCP
transaction time. There may be other ways to provoke this, for
instance by using an empty filename.

The patch make safe_strncpy() even safer, by handing a NULL src argument.

Thanks to Jeff Allen for spotting and reporting this.
2026-02-26 15:10:41 +00:00
2025-12-07 13:44:40 +00:00
2025-07-20 15:29:43 +01:00
2025-07-20 15:29:43 +01:00
Description
No description provided
19 MiB
Languages
C 94.3%
Perl 2.2%
HTML 1.2%
Shell 1.1%
Makefile 0.6%
Other 0.6%