imcdonagh / image4j

The image4j library allows you to read and write certain image formats in 100% pure Java.
Other
78 stars 38 forks source link

ArrayIndexOutOfBoundsException #11

Open WayneDevMaze opened 1 year ago

WayneDevMaze commented 1 year ago

I got a issue 'java.lang.ArrayIndexOutOfBoundsException'.

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 12
    at net.sf.image4j.codec.bmp.BMPEncoder.write4(BMPEncoder.java:365)
    at net.sf.image4j.codec.bmp.BMPEncoder.write(BMPEncoder.java:132)
    at net.sf.image4j.codec.bmp.BMPEncoder.write(BMPEncoder.java:39)
    at Test.main(Test.java:13)

If you want to replay the crash. You can got more details from https://github.com/WayneDevMaze/afl_test_works/tree/master/image4j/crash_example.