Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re2c -V throws std::out_of_range #211

Closed
floppym opened this issue Aug 28, 2018 · 0 comments

Comments

@floppym
Copy link
Contributor

commented Aug 28, 2018

As reported on Gentoo Linux.

https://bugs.gentoo.org/664752

% re2c --version
re2c 1.1

% re2c -V
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::erase: __pos (which is 4) > this->size() (which is 3)
zsh: abort (core dumped)  re2c -V

floppym added a commit to floppym/re2c that referenced this issue Aug 28, 2018

@skvadrik skvadrik closed this in 348d868 Aug 28, 2018

gentoo-bot pushed a commit to gentoo/gentoo that referenced this issue Aug 28, 2018

dev-util/re2c: fix -V option handling, bug #664752
Patch by Mike Gilbert \o/

Repored-by: Thomas Deutschmann
Closes: https://bugs.gentoo.org/664752
Bug: skvadrik/re2c#211
Fixed-by: Mike Gilbert
Package-Manager: Portage-2.3.48, Repoman-2.3.10

trofi added a commit to trofi/re2c that referenced this issue Aug 28, 2018

vernum: move version-string-to-vernum converter to a separate helper
No functional change. While at it added tests
to cover past failures:
- "1.1": skvadrik#211
- "0.14": https://sourceforge.net/p/re2c/bugs/55/

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

skvadrik added a commit that referenced this issue Aug 29, 2018

vernum: move version-string-to-vernum converter to a separate helper
No functional change. While at it added tests
to cover past failures:
- "1.1": #211
- "0.14": https://sourceforge.net/p/re2c/bugs/55/

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.