./magick convert $FILE out.pcx
==12396==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 768 byte(s) in 1 object(s) allocated from:
#0 0x4deeb6 in __interceptor_malloc asan_malloc_linux.cc:66
#1 0x7f7ae52ff186 in AcquireMagickMemory memory.c:464:10
#2 0x7f7ae52ff1e8 in AcquireQuantumMemory memory.c:537:10
#3 0x7f7ae57a0991 in WritePCXImage pcx.c:987:36
#4 0x7f7ae50de6fe in WriteImage constitute.c:1114:14
#5 0x7f7ae50df5fd in WriteImages constitute.c:1333:13
#6 0x7f7ae478a900 in ConvertImageCommand convert.c:3280:11
#7 0x7f7ae48d90cf in MagickCommandGenesis mogrify.c:183:14
#8 0x514a37 in MagickMain magick.c:149:10
#9 0x514491 in main magick.c:180:10
#10 0x7f7adf116f44 in __libc_start_main libc-start.c:287
Version: ImageMagick 7.0.6-2 Q16 x86_64
POC: https://github.com/jgj212/poc/blob/master/leak-WritePCXImage
Credit : ADLab of Venustech
The text was updated successfully, but these errors were encountered: