READ of size 4 at 0xb4d00838 thread T0 #0 0xb70580be in CreateColors (/usr/lib/libXpm.so.4+0x150be) #1 0xb705f9d5 in xpmParseDataAndCreate (/usr/lib/libXpm.so.4+0x1c9d5) #2 0xb7053677 in XpmReadFileToImage (/usr/lib/libXpm.so.4+0x10677) #3 0x8048994 in main (/home/tobias/xpm/poc+0x8048994) #4 0xb6ea51a5 in __libc_start_main ../csu/libc-start.c:289 #5 0x80486e0 (/home/tobias/xpm/poc+0x80486e0) 0xb4d00838 is located 0 bytes to the right of 24-byte region [0xb4d00820,0xb4d00838) allocated by thread T0 here: #0 0xb7281be4 in __interceptor_calloc ../../../../libsanitizer/asan/asan_malloc_linux.cc:70 #1 0xb706700a in xpmParseColors (/usr/lib/libXpm.so.4+0x2400a) #2 0xb705f870 in xpmParseDataAndCreate (/usr/lib/libXpm.so.4+0x1c870) #3 0xb7053677 in XpmReadFileToImage (/usr/lib/libXpm.so.4+0x10677) #4 0x8048994 in main (/home/tobias/xpm/poc+0x8048994) #5 0xb6ea51a5 in __libc_start_main ../csu/libc-start.c:289