summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2017-09-07 00:18:29 +0200
committerMichael Brown2017-09-07 00:28:21 +0200
commit3f429bdcfe0c3698f886e93a1f603656ccaa0f28 (patch)
treec68f71887170586c36c84e5e68e76f68a53c0372 /src/include
parent[dns] Report current DNS query as job progress status message (diff)
downloadipxe-3f429bdcfe0c3698f886e93a1f603656ccaa0f28.tar.gz
ipxe-3f429bdcfe0c3698f886e93a1f603656ccaa0f28.tar.xz
ipxe-3f429bdcfe0c3698f886e93a1f603656ccaa0f28.zip
[efi] Check buffer length for packets retrieved via our SNP protocol
We do not currently check the length of the caller's buffer for received packets. This creates a potential buffer overrun when iPXE is being used via the SNP or UNDI protocols. Fix by checking the buffer length and correctly returning the required length and an EFI_BUFFER_TOO_SMALL error. Reported-by: Paul McMillan <paul.mcmillan@oracle.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions