diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2025-03-17 20:24:20 +1100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-03-20 20:33:20 +0100 |
| commit | 961aa6a0eb7fce956a34f8ccd883bfe12392d3d3 (patch) | |
| tree | c3e0f15b2eee7dbf3c2c013a52973f78c46289d5 /contrib/qemu | |
| parent | 37d9f374d9f0c47c092f80a5d85d4505ae4a9af7 (diff) | |
| download | passt-961aa6a0eb7fce956a34f8ccd883bfe12392d3d3.tar passt-961aa6a0eb7fce956a34f8ccd883bfe12392d3d3.tar.gz passt-961aa6a0eb7fce956a34f8ccd883bfe12392d3d3.tar.bz2 passt-961aa6a0eb7fce956a34f8ccd883bfe12392d3d3.tar.lz passt-961aa6a0eb7fce956a34f8ccd883bfe12392d3d3.tar.xz passt-961aa6a0eb7fce956a34f8ccd883bfe12392d3d3.tar.zst passt-961aa6a0eb7fce956a34f8ccd883bfe12392d3d3.zip | |
packet: Move checks against PACKET_MAX_LEN to packet_check_range()
Both the callers of packet_check_range() separately verify that the given
length does not exceed PACKET_MAX_LEN. Fold that check into
packet_check_range() instead.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib/qemu')
0 files changed, 0 insertions, 0 deletions
