diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2009-12-13 11:19:01 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2009-12-13 11:19:01 -0500 |
commit | 2edace134c323e47c3ad23f4635deb3d14a556b3 (patch) | |
tree | 24a13e4a8172f3e35293bddf7b4820186617c7e7 /src/boot.c | |
parent | 58db9c492da57b2b71af2200f39d2262d719c142 (diff) | |
download | seabios-2edace134c323e47c3ad23f4635deb3d14a556b3.tar.gz |
Fix use before free in boot_cbfs (boot.c).
Diffstat (limited to 'src/boot.c')
-rw-r--r-- | src/boot.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -422,7 +422,7 @@ boot_cbfs(struct ipl_entry_s *ie) if (! CONFIG_COREBOOT_FLASH) return; int count = ie->subchoice; - struct cbfs_file *file; + struct cbfs_file *file = NULL; for (;;) { file = cbfs_findprefix("img/", file); if (!file) |