Closed SuhwanSong closed 4 years ago
I can't reproduce it. Could you tell me your environment information?
$ uname -a
Darwin mbp4 18.7.0 Darwin Kernel Version 18.7.0: Thu Jun 20 18:42:21 PDT 2019; root:xnu-4903.270.47~4/RELEASE_X86_64 x86_64
$ git checkout 41f6be4
$ CC=gcc-7 CFLAGS="-O0 -g -fsanitize=address,leak -fno-omit-frame-pointer" LDFLAGS="-lasan " LDADD="-static-libasan " ./configure && make install
$ img2sixel --version | head -n9
img2sixel 1.8.3
configured with:
libcurl: yes
libpng: yes
libjpeg: yes
gdk-pixbuf2: no
GD: no
$ img2sixel --monochrome -- ~/Downloads/id_000014,sig_06,src_000472+001420,op_splice,rep_16
runtime error: bad input detected
image_buffer_init: given height parameter is too huge.
Fixed on v1.8.5. Thanks!
img2sixel 1.8.3 (git commit 41f6be4)
There is a memory leak in image_buffer_resize at fromsixel.c:357 please run following cmd to reproduce it.
poc ASAN LOG