grub_fshelp_read_file: Don't attempt to read past the end of file.

This commit is contained in:
Vladimir Serbinenko 2015-01-20 12:58:17 +01:00
parent 66ce4d1aef
commit af435524cd
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2015-01-20 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/fshelp.c (grub_fshelp_read_file): Don't attempt to read
past the end of file.
2015-01-20 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/script/lexer.c (grub_script_lexer_yywrap): Update len