| Summary: | Fuzzing crashes for SDL_LoadBMP | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Ryan C. Gordon <icculus> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | x86 | ||
| OS: | Other | ||
| See Also: | https://bugzilla.libsdl.org/show_bug.cgi?id=3894 | ||
| Attachments: |
Archive of test cases.
Test program to reproduce crashes. |
||
|
Description
Ryan C. Gordon
2017-10-14 15:06:45 UTC
Created attachment 2985 [details]
Test program to reproduce crashes.
Here's the test program AFL was using. You could just run it like:
for f in SDL-loadbmp-fuzzing-crashes/* ; do ./testbmp $f ; done
To see every crash.
Easy to compile: gcc -g -o testbmp testbmp.c `sdl2-config --cflags --libs`
Literally every one of these crashes was fixed by https://hg.libsdl.org/SDL/rev/81a4950907a0, heh --ryan. Awesome! |