Fix out-of-bounds reads when the hostname string isn't NUL-terminated.
Fix out-of-bounds reads when the hostname string isn't NUL-terminated.

Signed-off-by: Martin Pelikan <bcbcf01709af43e07b29a14734e98c7229ba5de2@storkhole.cz>

pelikan/dhcpd,pelikan/dhcpd