-
Notifications
You must be signed in to change notification settings - Fork 6
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
What happen when I just input a file with ONE picture? #1
Comments
Hi! Thanks for the report! :-) |
But I also tried to pass the file to bin2png like this: ================================================================= Direct leak of 20 byte(s) in 1 object(s) allocated from: Direct leak of 16 byte(s) in 1 object(s) allocated from: SUMMARY: AddressSanitizer: 36 byte(s) leaked in 2 allocation(s). It also tells me that I got a bad address. |
Looks like the |
I use Ubuntu 16 (with Oracla VM VirtualBox, built on Windows 10) and /opt is NOT a mount-point. |
root@xxx:/opt/imgify# ./bin2png -i other/ -o png_out/out.png
open: Bad address
=================================================================
==30313==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 16 byte(s) in 1 object(s) allocated from:
#0 0x436e10 in __interceptor_strdup (/opt/imgify/bin2png+0x436e10)
#1 0x512eab in parse_options /opt/imgify/./common_options.h:59:23
#2 0x512eab in main /opt/imgify/./common_main.h:10
#3 0x7fd473275b96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310
Direct leak of 7 byte(s) in 1 object(s) allocated from:
#0 0x436e10 in __interceptor_strdup (/opt/imgify/bin2png+0x436e10)
#1 0x512de9 in parse_options /opt/imgify/./common_options.h:56:22
#2 0x512de9 in main /opt/imgify/./common_main.h:10
#3 0x7fd473275b96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310
SUMMARY: AddressSanitizer: 23 byte(s) leaked in 2 allocation(s).
other is just a directory with ONE .bmp file
other.zip
The text was updated successfully, but these errors were encountered: