Description
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
Activity