mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 15:49:23 +00:00
fix off-by-one error in menuentry cmd
This commit is contained in:
1 parent
37effddaf3
commit
a929c8cd1e
2 files changed
+6
-1
No files matched your search
+1
-1
@@ -76,7 +76,7 @@ grub_script_lexer_record_stop (struct grub_parser_param *parser)
|
||||
while (*end && grub_isspace (*end)) end--;
|
||||
if (*end == '}') end--;
|
||||
while (*end && grub_isspace (*end)) end--;
|
||||
*end = '\0';
|
||||
end[1] = '\0';
|
||||
|
||||
return start;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user