Re: assert() triggered in flex

2019-09-21 Thread Todd C . Miller
On Sat, 21 Sep 2019 20:21:12 +0800, Michael Mikonos wrote: > When I remembered to check if upstream flex had fixed the sf_pop() > issue I found their fix was a little different: > https://github.com/westes/flex/commit/9ba6e5283efd2fe454d3bc92eca960b3ebd9129 > 4 > > Notably, FLEX_EXIT() is not call

Re: assert() triggered in flex

2019-09-21 Thread Michael Mikonos
On Tue, Sep 17, 2019 at 11:56:26PM +0800, Michael Mikonos wrote: > Hello, > > I was wondering why fuzz input was sometimes crashing flex(1). > Now that assert() is enabled in the build I am able to > trigger it with the following input. > > $ cat test.l > %{ > hello > %} > > %% > > ))) > world

assert() triggered in flex

2019-09-17 Thread Michael Mikonos
Hello, I was wondering why fuzz input was sometimes crashing flex(1). Now that assert() is enabled in the build I am able to trigger it with the following input. $ cat test.l %{ hello %} %% ))) world $ /usr/bin/lex -d - < test.l assertion "_sf_top_ix > 0" failed: file "scanflags.c", line 55, f