wok-current rev 18709
grub2: CVE-2015-8370 fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 16 17:54:07 2015 +0100 (2015-12-16) |
parents | b7e3c3f6500e |
children | de8ecd2ce530 |
files | grub2/receipt |
line diff
1.1 --- a/grub2/receipt Wed Dec 16 17:40:23 2015 +0200 1.2 +++ b/grub2/receipt Wed Dec 16 17:54:07 2015 +0100 1.3 @@ -18,8 +18,9 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cd $src 1.8 - 1.9 + # CVE-2015-8370 1.10 + sed -i "s/'.b'/& \&\& cur_len/" grub-core/lib/crypto.c grub-core/normal/auth.c 1.11 + 1.12 # Fixes for flex 2.5.37 1.13 export CFLAGS="-Wno-error=sign-compare" 1.14 sed -i 's/YY_FATAL_ERROR/REMOVED_&/' grub-core/script/yylex.l