Skip to content
  • Shawn Routhier's avatar
    Correct an unsigned math operation when calculating the options · 640101e3
    Shawn Routhier authored
    buffer space for bootp and use a better constant - DHCP packet
    size instead of DHCP packet size + udp and iP headers.
    Check that we have a packet->options structure before using it.
    Only process packets that are longer than a bootp fixed packet
    including server and file names.  Previously we allowed for
    shorter packets but that wasn't working and nobody noticed.
    640101e3