summaryrefslogtreecommitdiffstats
path: root/src/drivers
diff options
context:
space:
mode:
authorMichael Brown2016-03-12 02:21:18 +0100
committerMichael Brown2016-03-12 02:24:03 +0100
commit64acfd9ddd73bf38802f8c57e054d13a57b14198 (patch)
tree97a1d42de582670763f60d8b21a840f4dfde6059 /src/drivers
parent[pixbuf] Check for unsigned integer overflow on multiplication (diff)
downloadipxe-64acfd9ddd73bf38802f8c57e054d13a57b14198.tar.gz
ipxe-64acfd9ddd73bf38802f8c57e054d13a57b14198.tar.xz
ipxe-64acfd9ddd73bf38802f8c57e054d13a57b14198.zip
[arp] Validate length of ARP packet
There is no practical way to generate an underlength ARP packet since an ARP packet is always padded up to the minimum Ethernet frame length (or dropped by the receiving Ethernet hardware if incorrectly padded), but the absence of an explicit check causes warnings from some analysis tools. Fix by adding an explicit check on the I/O buffer length. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers')
0 files changed, 0 insertions, 0 deletions