]> git.ipfire.org Git - thirdparty/grub.git/commit
Fix double-free introduced by commit 33d02a42d64cf06cada1c389e5abba4b9d196cc5
authorJon McCune <jonmccune@google.com>
Fri, 13 Dec 2013 16:47:12 +0000 (08:47 -0800)
committerJon McCune <jonmccune@google.com>
Tue, 17 Dec 2013 15:32:07 +0000 (07:32 -0800)
commit24d5934daa37b3f9c5857945a93fa68ac9c308a2
tree6adff66fff1b9175d74cbd62d6ca08c11214bd6d
parentd6c2782a9079352bcd67d9d29fa652abb4dd197a
Fix double-free introduced by commit 33d02a42d64cf06cada1c389e5abba4b9d196cc5

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.
ChangeLog
grub-core/commands/verify.c
grub-core/io/gzio.c
grub-core/io/lzopio.c
grub-core/io/xzio.c