Don't reuse the same buffer for all received packets. A lease will reuse slices of the received packet copied to buffer for e.g. ClientID, MACAddress etc. Next dhcp packet received will corrupt these memory locations.
DHCP Server