]> git.proxmox.com Git - grub2.git/commit
2009-06-17 Vladimir Serbinenko <phcoder@gmail.com>
authorphcoder <phcoder@localhost>
Wed, 17 Jun 2009 13:47:37 +0000 (13:47 +0000)
committerphcoder <phcoder@localhost>
Wed, 17 Jun 2009 13:47:37 +0000 (13:47 +0000)
commitcf24ed9e2a49a90cbdea466047f88cf097b8f181
tree8d75233257ffa9c4ee3a8f2ea8920f604b93e6f5
parent74aa8e4bf8a5c91b5989b861005587bd5eea0e97
2009-06-17  Vladimir Serbinenko  <phcoder@gmail.com>

Fix newline handling

* include/grub/script_sh.h (grub_lexer_param): new field was_newline
* script/sh/lexer.c (grub_script_lexer_init): initilaise was_newline
(grub_script_yylex): don't segfault on unterminated script
newline terminates command and variable
ChangeLog
include/grub/script_sh.h
script/sh/lexer.c