mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
dereference or worse) in case the archive length is exactly sizeof(struct lar_header). Such an archive is invalid because the filename directly after the LAR header is always dereferenced and has to be at least 1 byte in the "empty filename" case (only terminating \0). Improve LAR code documentation and reorder variables in one assignment to make the code more obvious and readable. This will help people understand what the code does when they look at it half a year from now. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@506 f3766cd6-281f-0410-b1cd-43a5c92072e9 |
||
---|---|---|
.. | ||
geodelx | ||
archelfboot.c | ||
archtables.c | ||
i8259.c | ||
isa-dma.c | ||
Kconfig | ||
keyboard.c | ||
ldscript.ld | ||
linuxbios_table.c | ||
macros.h | ||
Makefile | ||
mc146818rtc.c | ||
mtrr.h | ||
pci_ops_auto.c | ||
pci_ops_conf1.c | ||
pci_ops_conf2.c | ||
pci_ops_mmconf.c | ||
post_code.c | ||
serial.c | ||
speaker.c | ||
stage0_i586.S | ||
stage1.c | ||
udelay_io.c |