grub/grub-core
Jon McCune 24d5934daa Fix double-free introduced by commit 33d02a42d6
To reproduce the problem, make sure you have a GPG public key available, build and install GRUB:
grub-install --debug --debug-image="all" --pubkey=/boot/pubkey.gpg --modules="serial terminfo gzio search search_label search_fs_uuid search_fs_file linux vbe video_fb video mmap relocator verify gcry_rsa gcry_dsa gcry_sha256 hashsum gcry_sha1 mpi echo loadenv boottime" /dev/sda
Sign all the files in /boot/grub/* and reboot.

'make check' results identical before and after this change.

TESTED: In a QEMU VM using an i386 target.
2013-12-17 07:32:07 -08:00
..
boot * grub-core/boot/i386/qemu/boot.S: Add missing EXT_C. 2013-12-14 23:13:42 +01:00
bus Add gcc_struct to all packed structures when compiling with mingw. 2013-12-15 14:14:30 +01:00
commands Fix double-free introduced by commit 33d02a42d6 2013-12-17 07:32:07 -08:00
disk Use %I64 and not %ll when using OS printf if compiling for windows. 2013-12-17 16:04:47 +01:00
efiemu * grub-core/efiemu/prepare.c: Remove variable length arrays. 2013-11-12 16:12:28 +01:00
font Pass font config to config.h and not by TARGET_CFLAGS as adding 2013-12-04 10:25:53 +01:00
fs Implement better integration with Mac firmware. 2013-12-17 15:21:02 +01:00
gdb With Apple assembly in .macro environvemnt you have to use $$ instead 2013-11-24 07:08:18 +01:00
gettext * grub-core/gettext/gettext.c (main_context), (secondary_context): 2013-11-07 01:01:47 +01:00
gfxmenu * grub-core/gfxmenu/gui_circular_progress.c (parse_angle): 2013-11-08 19:13:15 +01:00
gnulib Allow compilation with mingw64 albeit with warnings due to lack of 2013-10-15 18:03:19 +02:00
hello * grub-core/commands/gptsync.c: Fix typographic quoting. 2012-03-03 13:05:08 +01:00
hook * grub-core/hook/datehook.c (grub_read_hook_datetime): Small stylistic 2011-11-11 21:03:49 +01:00
io Fix double-free introduced by commit 33d02a42d6 2013-12-17 07:32:07 -08:00
kern Use %I64 and not %ll when using OS printf if compiling for windows. 2013-12-17 16:04:47 +01:00
lib * grub-core/lib/arg.c: Ensure at least a single space between commands. 2013-12-17 14:42:02 +01:00
loader * grub-core/loader/multiboot_mbi2.c: Implement special value for load_addr. 2013-12-17 15:14:50 +01:00
mmap Add gcc_struct to all packed structures when compiling with mingw. 2013-12-15 14:14:30 +01:00
net Add gcc_struct to all packed structures when compiling with mingw. 2013-12-15 14:14:30 +01:00
normal * grub-core/normal/charset.c: Fix premature line wrap and crash. 2013-12-11 17:06:00 +01:00
osdep Use %I64 and not %ll when using OS printf if compiling for windows. 2013-12-17 16:04:47 +01:00
partmap Add gcc_struct to all packed structures when compiling with mingw. 2013-12-15 14:14:30 +01:00
parttool * grub-core/net/http.c: Add TRANSLATORS comments. 2012-03-05 16:42:26 +01:00
script Decrease stack usage in lexer. 2013-11-16 16:37:59 +01:00
term Implement XEN VFB support. 2013-12-17 13:07:26 +01:00
tests * grub-core/tests/sleep_test.c: Silence spurious warning. 2013-12-16 20:32:43 +01:00
video Implement XEN VFB support. 2013-12-17 13:07:26 +01:00
gdb_grub.in * grub-core/gdb_grub.in: Fix overflow and wrong field. 2013-10-14 03:40:20 +02:00
genemuinit.sh
genemuinitheader.sh
genmod.sh.in * grub-core/genmod.sh.in: Strip before converting to ELF as strip 2013-12-16 13:18:48 +01:00
genmoddep.awk * grub-core/genmoddep.awk: Remove explicit getline < /dev/stdin. 2013-12-16 13:02:19 +01:00
gensyminfo.sh.in * grub-core/gensyminfo.sh.in: Handle the case of portable output 2013-11-11 23:05:53 +01:00
gensymlist.sh Make 'make check' work on emu. 2013-04-27 02:00:16 +02:00
gentrigtables.c * grub-core/gentrigtables.c: Make tables const. 2013-03-01 11:15:09 +01:00
gmodule.pl.in Add facility to debug GRUB with gdb under qemu. 2011-11-13 22:59:46 +01:00
gnulib-fix-null-deref.diff Import new gnulib. 2013-04-11 21:12:46 +02:00
gnulib-fix-width.diff Import new gnulib. 2013-04-11 21:12:46 +02:00
gnulib-no-abort.diff Import new gnulib. 2013-04-11 21:12:46 +02:00
gnulib-no-gets.diff Import new gnulib. 2013-04-11 21:12:46 +02:00
Makefile.am Implement XEN VFB support. 2013-12-17 13:07:26 +01:00
Makefile.core.def Implement better integration with Mac firmware. 2013-12-17 15:21:02 +01:00
modinfo.sh.in