aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/grub2/patches/300-CVE-2015-8370.patch
diff options
context:
space:
mode:
authorTomasz Maciej Nowak <tomek_n@o2.pl>2019-07-18 15:32:39 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2019-09-01 18:38:05 +0200
commit3fa0f32a68c88e67e87b6dbc88dce3c5bab5197f (patch)
tree88a6a3d11dc8f6134a74397b4f72252f8ab07f1e /package/boot/grub2/patches/300-CVE-2015-8370.patch
parent5ca243153b110ceddffecb70ba8a8cd0e33c8f0b (diff)
downloadupstream-3fa0f32a68c88e67e87b6dbc88dce3c5bab5197f.tar.gz
upstream-3fa0f32a68c88e67e87b6dbc88dce3c5bab5197f.tar.bz2
upstream-3fa0f32a68c88e67e87b6dbc88dce3c5bab5197f.zip
grub2: bump to 2.04
* GCC 8 and 9 support. * Gnulib integration overhaul. * RISC-V support. * Xen PVH support. * Native UEFI secure boot support. * UEFI TPM driver. * New IEEE 1275 obdisk driver. * Btrfs RAID 5 and RIAD 6 support. * bootin from F2FS support. * PARTUUID support. * VLAN support. * Native DHCP support. * Many ARM and ARM64 fixes. * Many SPARC fixes. * Many IEEE 1275 fixes. * ...and tons of other fixes and cleanups... Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
Diffstat (limited to 'package/boot/grub2/patches/300-CVE-2015-8370.patch')
-rw-r--r--package/boot/grub2/patches/300-CVE-2015-8370.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/boot/grub2/patches/300-CVE-2015-8370.patch b/package/boot/grub2/patches/300-CVE-2015-8370.patch
index eb7919639a..22f6c90928 100644
--- a/package/boot/grub2/patches/300-CVE-2015-8370.patch
+++ b/package/boot/grub2/patches/300-CVE-2015-8370.patch
@@ -33,8 +33,8 @@ Signed-off-by: Ismael Ripoll-Ripoll <iripoll@disca.upv.es>
break;
}
-- if (key == '\b')
-+ if (key == '\b' && cur_len)
+- if (key == GRUB_TERM_BACKSPACE)
++ if (key == GRUB_TERM_BACKSPACE && cur_len)
{
if (cur_len)
{