Make sure the packet length isn't > WTAP_MAX_PACKET_SIZE.