dhcpd: Prevent buffer overflow in dhcpd_addoption.  offset represents distance from start of option buffer.  So this should be changed current option pointer minus start of buffer.
2 files changed