rflynn / imgmin

Lossy image optimization
MIT License
650 stars 32 forks source link

JPEG image terminated by signal SIGSEGV (Address boundary error) #49

Closed denji closed 7 years ago

denji commented 9 years ago

imgmin v1.1 When performing overflow happened, terminated by signal SIGSEGV (Address boundary error).

imgmin /usr/local/Library/Homebrew/test/fixtures/test.jpg out.jpg
Before quality:95 colors:1 size:  0.3kB type:Palette format:JPEG
terminated by signal SIGSEGV (Address boundary error)

# file '/usr/local/Library/Homebrew/test/fixtures/test.jpg'
  /usr/local/Library/Homebrew/test/fixtures/test.jpg: JPEG image data, JFIF standard 1.01
denji commented 9 years ago

Before quality:94 colors:255182 size:744.1kB type:TrueColor format:JPEG Before quality:100 colors:151927 size:809.8kB type:TrueColor format:JPEG 570.3k@pngquant Using pngquant 570.3k... Assertion failed: (iterator != (PixelIterator *) NULL), function PixelGetNextIteratorRow, file wand/pixel-iterator.c, line 691.