GNU GRUB - Bugs: bug #47569, GRUB 2.02~beta2 "fatal error:...
You are not allowed to post comments on this tracker with your current authentication level.
bug #47569: GRUB 2.02~beta2 "fatal error: token too large, exceeds YYLMAX"
Submitter: | Alvaro Gonzalez <lvarin> | ||
Submitted: | Wed 30 Mar 2016 08:37:10 AM UTC | ||
Category: | Booting | Severity: | Major |
Priority: | 5 - Normal | Item Group: | Software Error |
Status: | None | Privacy: | Public |
Assigned to: | None | Originator Name: | |
Open/Closed: | Open | Release: | other |
Release: | Reproducibility: | Every Time | |
Planned Release: | 2.03+ |
Sat 09 Apr 2016 05:22:49 AM UTC, comment #3: |
Andrei Borzenkov <arvidjaar> |
Mon 04 Apr 2016 09:25:14 AM UTC, comment #2: Hello,
|
Alvaro Gonzalez <lvarin> |
Wed 30 Mar 2016 01:06:27 PM UTC, comment #1: Well, grub-mkconfig and /etc/default/grub are just shell scripts at the end. Not sure what we can do here. If shell does not complain, how should we know something went wrong?
|
Andrei Borzenkov <arvidjaar> |
Wed 30 Mar 2016 08:37:10 AM UTC, original submission:
Hello,
|
Alvaro Gonzalez <lvarin> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2017-03-05 | phcoder | Planned Release | None | 2.03+ |
Powered by Savane 3.13-f8d8.
Corresponding source code
We could also force %pointer (we require the latest flex anyway) which eliminates this error entirely. This can potentially lead to DoS if someone gives us too large input file.
Otherwise I'm not sure what logic should be. We start collecting string and hit "too long" error. What can we do now? Abort parsing of input file entirely?