summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorMichael Brown2016-03-30 08:27:09 +0200
committerMichael Brown2016-03-30 08:27:09 +0200
commitc9af896314e33885fc91e86f531bea7e7dd1f9f3 (patch)
treefe0f335b7f20cfd3d8f2e130658a3a50f3961a0a /src/tests
parent[netdevice] Return ENOENT for an unknown bus type (diff)
downloadipxe-c9af896314e33885fc91e86f531bea7e7dd1f9f3.tar.gz
ipxe-c9af896314e33885fc91e86f531bea7e7dd1f9f3.tar.xz
ipxe-c9af896314e33885fc91e86f531bea7e7dd1f9f3.zip
[linda] Validate payload length
There is no way for the hardware to give us an invalid length in the LRH, since it must have parsed this length field in order to perform header splitting. However, this is difficult to prove conclusively. Add an unnecessary length check to explicitly reject any packets larger than the posted receive I/O buffer. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/tests')
0 files changed, 0 insertions, 0 deletions