cloud-hypervisor/net_util/src
Bo Chen 559faa272a net_util: queue_pair: Avoid integer overflow
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>
2022-11-28 17:19:53 +00:00
..
ctrl_queue.rs virtio-devices: Optimize add_used() usage 2022-07-29 17:41:32 +01:00
lib.rs net_util: modify or provide safety comments 2022-11-18 12:50:01 +00:00
mac.rs build: Fix beta clippy issue (derive_partial_eq_without_eq) 2022-06-30 20:50:45 +01:00
open_tap.rs misc: Unify error message punctuation 2022-10-21 12:19:07 +02:00
queue_pair.rs net_util: queue_pair: Avoid integer overflow 2022-11-28 17:19:53 +00:00
tap.rs net_util: tap: Include ioctl code in failure errors 2022-11-24 16:18:39 +00:00