commit | 1592a9947036d60dde5404204a5d45975133caf5 | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Wed May 30 13:16:36 2018 +0800 |
committer | Jason Wang <jasowang@redhat.com> | Fri Oct 19 11:15:04 2018 +0800 |
tree | ef0e5341485eb245fda6cd164d165f37f46850d9 | |
parent | b1d80d12c5f7ff081bb80ab4f4241d4248691192 [diff] |
net: ignore packet size greater than INT_MAX There should not be a reason for passing a packet size greater than INT_MAX. It's usually a hint of bug somewhere, so ignore packet size greater than INT_MAX in qemu_deliver_packet_iov() CC: qemu-stable@nongnu.org Reported-by: Daniel Shapira <daniel@twistlock.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>