leonbloy / pngj

PNGJ : pure Java library for high performance PNG encoding
http://hjg.com.ar/pngj/
278 stars 51 forks source link

better bound checking in array passing (pack/unpack) #12

Closed leonbloy closed 9 years ago

leonbloy commented 9 years ago

From hgonzalez@gmail.com on June 22, 2012 09:10:19

see discussion here https://code.google.com/p/pngj/wiki/Discussion

Original issue: http://code.google.com/p/pngj/issues/detail?id=12

leonbloy commented 9 years ago

From hgonzalez@gmail.com on June 23, 2012 07:57:59

Fixed. Now, if (say) a gray 1bpp image has 31 columns, Imageline.unpack()/pack() will use a buffer of length 31, as it should.

Status: Fixed

leonbloy commented 9 years ago

From hgonzalez@gmail.com on June 23, 2012 07:58:10

Status: Verified