libsixel icon indicating copy to clipboard operation
libsixel copied to clipboard

A jpeg causes img2sixel to crash with an integer overflow

Open DavidGriffith opened this issue 3 years ago • 1 comments

$ sixel2png lolwut.jpg
runtime error: integer overflow
safe_addition_for_params: ingeger overflow detected.

And here's the image that provokes this error.

lolwut

No, I'm not kidding. I went through a few of my favorite images and img2sixel barfed on this one.

DavidGriffith avatar May 31 '22 07:05 DavidGriffith

https://github.com/libsixel/libsixel

rihaq avatar Sep 09 '22 00:09 rihaq