Skip to content
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

NULL pointer dereference in iwbmp_read_info_header #8

bestshow opened this issue Apr 3, 2017 · 1 comment


None yet
2 participants
Copy link

commented Apr 3, 2017

on ImageWorsener 1.3.0

#imagew $FILE out.png

SEGV on unknown address 0x000000000000 (pc 0x000000568328 bp 0x7fffaaf36fb0 sp 0x7fffaaf36d80 T0)
==37735==The signal is caused by a READ memory access.
==37735==Hint: address points to the zero page.
#0 0x568327 in iwbmp_read_info_header /home/haojun/Downloads/testopensourcecode/imageworsener-master/src/imagew-bmp.c:419:2
#1 0x567205 in iw_read_bmp_file /home/haojun/Downloads/testopensourcecode/imageworsener-master/src/imagew-bmp.c:970:6
#2 0x566c20 in iw_read_file_by_fmt /home/haojun/Downloads/testopensourcecode/imageworsener-master/src/imagew-allfmts.c:66:12
#3 0x519fbe in iwcmd_run /home/haojun/Downloads/testopensourcecode/imageworsener-master/src/imagew-cmd.c:1191:6
#4 0x516623 in iwcmd_main /home/haojun/Downloads/testopensourcecode/imageworsener-master/src/imagew-cmd.c:3018:7
#5 0x5164f1 in main /home/haojun/Downloads/testopensourcecode/imageworsener-master/src/imagew-cmd.c:3067:9
#6 0x7f68fb265b34 in __libc_start_main (/lib64/
#7 0x41bbeb in _start (/home/haojun/Downloads/testopensourcecode/imageworsener-master/imagew+0x41bbeb)

SEGV /home/haojun/Downloads/testopensourcecode/imageworsener-master/src/imagew-bmp.c:419:2 in iwbmp_read_info_header


Author: ADLab of Venustech


This comment has been minimized.

Copy link

commented Apr 4, 2017

Should be fixed by commit 4500070

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.