mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-14 07:31:37 +00:00
This integer overflow was triggered with fuzzing on the virtio-net device. The integer overflow is from the wrong assumption that the packets read from or written to the tap device is always larger than the size of a virtio-net header. Signed-off-by: Bo Chen <chen.bo@intel.com> (cherry picked from commit 559faa272a6db63958a861fa8c333cca7b911163) Signed-off-by: Rob Bradford <robert.bradford@intel.com>