You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ./read_bmp segv.bmp
ASAN:DEADLYSIGNAL
=================================================================
==76342==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000002 (pc 0x561ea99d4abe bp 0x7ffe97c196d0 sp 0x7ffe97c196b0 T0)
==76342==The signal is caused by a READ memory access.
==76342==Hint: address points to the zero page.
#0 0x561ea99d4abd in bmp_img_free /home/ubuntu/some_c_test/libbmp/fuzz/libbmp.c:127
#1 0x561ea99d3fdb in main /home/ubuntu/some_c_test/libbmp/fuzz/read_bmp.c:12
#2 0x7f9169a71c86 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21c86)
#3 0x561ea99d3e09 in _start (/home/ubuntu/some_c_test/libbmp/fuzz/read_bmp+0xe09)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/ubuntu/some_c_test/libbmp/fuzz/libbmp.c:127 in bmp_img_free
==76342==ABORTING
The text was updated successfully, but these errors were encountered:
Hi,
I am running some experiments for AFLAPI (fuzzing) and it has found a segmentation fault in bmp_img_free() at libbmp.c:127.
Environment: Ubuntu 18.04 + gcc 6.0
Driver program:
Poc is here:
segv.zip
To reproduce:
Compile with ASAN:
ASAN says:
The text was updated successfully, but these errors were encountered: