Created attachment 1507962 [details]
There is an illegal WRITE memory access at src/common-image.c:193 (function:load_image )in libcaca latest version.
The asan debug is as follows:
==90274==ERROR: AddressSanitizer: SEGV on unknown address 0x6020ffff0030 (pc 0x5619e1a71388 bp 0x603000000010 sp 0x7ffe4f582780 T0)
==90274==The signal is caused by a WRITE memory access.
#0 0x5619e1a71387 in load_image /home/company/real/libcaca-master/src/common-image.c:193
#1 0x5619e1a6f7c7 in main /home/company/real/libcaca-master/src/img2txt.c:171
#2 0x7f31440e11c0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x211c0)
#3 0x5619e1a6ff09 in _start (/home/company/real/libcaca-master/install_asan/bin/img2txt+0x2f09)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/company/real/libcaca-master/src/common-image.c:193 in load_image
Was this problem reported upstream? If not, can you please share this problem also with them?
Reported to upstream https://github.com/cacalabs/libcaca/issues/40
Thank you very much Henri!