Closed dtp555-1212 closed 1 year ago
It looks like a stackoverflow to me. A number of those have been fixed recently, and I can reproduce segfault on re2c-3.0 but not on the one built from git. Can you check with the most recent re2c built from git?
Yes... Building from the repo has the same failure (actually I used the zip file from git) so I don't know if that is the 'latest' or just a bundled 3.0
This is how I tried to reproduce:
$ git clone https://github.com/skvadrik/re2c
$ cd re2c
$ autoreconf -W all -i
$ build/__build.sh
$ cd __build
$ wget https://github.com/skvadrik/re2c/files/10467779/crash.zip
$ unzip crash.zip
$ ./re2c c.re
There is no segfault, output is generated as expected.
Thanks... that worked!
re2c 3.0 crashes when trying to process the attached file crash.zip