summaryrefslogtreecommitdiffstats
path: root/src/include/strings.h
diff options
context:
space:
mode:
authorMichael Brown2020-10-14 15:05:03 +0200
committerMichael Brown2020-10-14 15:18:49 +0200
commit388d657080d5088ab7832fcb0ec71a9a50c3a59f (patch)
treeb8485c92a107952fb0c1953cc6a034eb844a2607 /src/include/strings.h
parent[lacp] Detect and ignore erroneously looped back LACP packets (diff)
downloadipxe-388d657080d5088ab7832fcb0ec71a9a50c3a59f.tar.gz
ipxe-388d657080d5088ab7832fcb0ec71a9a50c3a59f.tar.xz
ipxe-388d657080d5088ab7832fcb0ec71a9a50c3a59f.zip
[lacp] Ignore (and do not echo) trailing padding on received packets
The LACP responder reuses the received I/O buffer to construct the response LACP (or marker) packet. Any received padding will therefore be unintentionally included within the response. Truncate the received I/O buffer to the expected length (which is already defined in a way to allow for future protocol expansion) before reusing it to construct the response. Reported-by: Tore Anderson <tore@fud.no> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/strings.h')
0 files changed, 0 insertions, 0 deletions