summaryrefslogtreecommitdiffstats
path: root/src/interface/linux/linux_umalloc.c
diff options
context:
space:
mode:
authorMichael Brown2021-02-18 02:49:23 +0100
committerMichael Brown2021-02-18 02:49:23 +0100
commit8446a439b37ae0a70693899363d0ee7c24fba935 (patch)
tree0c79f12a96ae33ea7db15690b5a189240b0adeb8 /src/interface/linux/linux_umalloc.c
parent[cloud] Do not enable serial console on EFI platforms (diff)
downloadipxe-8446a439b37ae0a70693899363d0ee7c24fba935.tar.gz
ipxe-8446a439b37ae0a70693899363d0ee7c24fba935.tar.xz
ipxe-8446a439b37ae0a70693899363d0ee7c24fba935.zip
[initrd] Allow for zero-length initrd files
A zero-length initrd file will currently cause an endless loop during reshuffling as the empty image is repeatedly swapped with itself. Fix by terminating the inner loop before considering an image as a candidate to be swapped with itself. Reported-by: Pico Mitchell <pico@randomapplications.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/linux/linux_umalloc.c')
0 files changed, 0 insertions, 0 deletions