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
A Segmentation fault in peglib.h:3650 #121
Comments
|
@seviezhou, thanks for the feedback. I couldn't reproduce it on my machine. > ./build/lint/peglint --ast --opt @@ ./pl0/samples/fib.pas
can't open the grammar file.What do you think I am missing to reproduce it? Thanks! |
|
You should replace |
|
CVE-2020-23914 has been assigned for this issue. |
|
@seviezhou you should give afl or other program used in fuzzing credit in advisories. |
It is found by a fuzzer built by us, it has not become open source yet. |
System info
Ubuntu x86_64, gcc (Ubuntu 5.5.0-12ubuntu1), peglint (latest master 14305f)
Configure
cmake .. -DCMAKE_CXX_FLAGS="-fsanitize=address -g" -DCMAKE_C_FLAGS="-fsanitize=address -g" -DCMAKE_EXE_LINKER_FLAGS="-fsanitize=address"
Command line
./build/lint/peglint --ast --opt @@ ./pl0/samples/fib.pas
Output
AddressSanitizer output
POC
SEGV-optimize-peglib-3650.zip
The text was updated successfully, but these errors were encountered: