GNU GRUB - Bugs: bug #59000, regexp sees parse-string...
You are not allowed to post comments on this tracker with your current authentication level.
bug #59000: regexp sees parse-string "-x" as a parameter!
Submitter: | Paul Gover <goverp> | ||
Submitted: | Sun 23 Aug 2020 08:00:07 PM 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: | 2.02 |
Release: | Reproducibility: | Every Time | |
Planned Release: | None |
Mon 24 Aug 2020 09:51:51 AM UTC, comment #1: |
Paul Gover <goverp> |
Sun 23 Aug 2020 08:00:07 PM UTC, original submission:
Actually, my Gentoo arm64 system says it's sys-boot/grub-2.04-r1, but your release spinbutton doesn't go that far.
|
Paul Gover <goverp> |
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.
Powered by Savane 3.13-caa5.
Corresponding source code
Actually, doing a test in grub-emu, I get:
(Of course the regex in this case is trivial for testing. The real one was something like '^([^[:digit:]]*)([[:digit:]]*)(.*)$' but that doesn't affect the command parsing.)
Either regexp should always treat the last two arguments as pattern and string, and avoid parsing them as parameters, or introduce a couple of long options, say
as an alternative to positional parameters.