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
Several bugs found by fuzzing #182
Comments
|
2.heap-buffer-overflow in htmlescape ../../programs/escape.c:46 |
|
3.heap-buffer-overflow in htmlescape ../../programs/escape.c:51 |
|
4.NULL pointer dereference in output_TEXT ../../programs/dwg2SVG.c:114 |
|
5.heap-buffer-overflow in output_TEXT ../../programs/dwg2SVG.c:114 |
|
6.heap-buffer-overflow in htmlwescape ../../programs/escape.c:97 |
|
7.heap-buffer-overflow in htmlescape ../../programs/escape.c:48 |
|
8.heap-buffer-overflow in htmlwescape ../../programs/escape.c:97 |
|
Nice! I haven't fuzzed that yet. |
need \0 termination to do strcat. don't skip the very first char. Fixes GH #182
|
ya, I really like fuzz libreDWG because you are very hard working and dedicated to this libreDWG. I hope one day it will be safer. |
Hi,
After fuzzing libredwg, I found the following bugs on the latest commit on master.
Command: ./dwg2SVG $PoC
1.NULL pointer dereference in htmlescape ../../programs/escape.c:29
POC: https://github.com/linhlhq/research/blob/master/PoCs/libreDWG_7b9cb829/id:000013%2Csig:06%2Csrc:000000%2Cop:flip1%2Cpos:46417
ASAN says:
The text was updated successfully, but these errors were encountered: