diff options
author | Michael Brown | 2017-06-13 14:16:26 +0200 |
---|---|---|
committer | Michael Brown | 2017-06-14 13:14:54 +0200 |
commit | 84e25513b1ce6aeb4f0d6c9d20cd687c00591de8 (patch) | |
tree | a320041339f723551494e421693ce5733f9b56a3 /src/include | |
parent | [syslog] Handle backspace characters (diff) | |
download | ipxe-84e25513b1ce6aeb4f0d6c9d20cd687c00591de8.tar.gz ipxe-84e25513b1ce6aeb4f0d6c9d20cd687c00591de8.tar.xz ipxe-84e25513b1ce6aeb4f0d6c9d20cd687c00591de8.zip |
[hdprefix] Avoid attempts to read beyond the end of the disk
When booting from a hard disk image (e.g. bin/ipxe.usb) within an
emulator such as QEMU, the disk may not exist beyond the end of the
image. Limit all reads to the length of the image to avoid spurious
errors when loading the iPXE image.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions