summaryrefslogtreecommitdiffstats
path: root/src/net/tcp.c
diff options
context:
space:
mode:
authorPetr Borsodi2019-01-16 17:37:57 +0100
committerMichael Brown2019-01-21 12:56:35 +0100
commit3f4c179a149c4feb3f0ea777aeddffa06bed0a27 (patch)
treeacfed83628d28b2572aa270262dd95b50c6947b6 /src/net/tcp.c
parent[zbin] Fix compiler warning with GCC 9 (diff)
downloadipxe-3f4c179a149c4feb3f0ea777aeddffa06bed0a27.tar.gz
ipxe-3f4c179a149c4feb3f0ea777aeddffa06bed0a27.tar.xz
ipxe-3f4c179a149c4feb3f0ea777aeddffa06bed0a27.zip
[util] Improve processing of ROM images in Option::ROM
The Option::ROM module now compares the Code Type in the PCIR header to 0x00 (PC-AT) in order to check the presence of other header types (PnP, UNDI, iPXE, etc). The validity of these headers are checked not only by offset, but by range and signature checks also. The image checksum and initial size also depends on Code Type. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/tcp.c')
0 files changed, 0 insertions, 0 deletions