Overflow in int2ascii
Closed this issue · 0 comments
nigredo-tori commented
Crashes in SPIFF test when the bytes with values of 0x10 and greater are read.
Traceback (most recent call last)
my_module.nim(21) isSupportedImage
imghdr.nim(520) testImage
imghdr.nim(513) testImage
imghdr.nim(580) testImage
imghdr.nim(294) testSPIFF
imghdr.nim(84) ==
imghdr.nim(77) int2ascii
system.nim(2536) sysFatal
Unhandled exception: value out of range: -121
The offending image is in the attached archive (be careful - it crashes a lot of other software)