
25 May
2012
25 May
'12
9:11 p.m.
Hi
Exception in thread "main" java.lang.IllegalArgumentException at java.nio.Buffer.position(Unknown Source) at uk.me.parabola.imgfmt.Utils.bytesToString(Utils.java:80) at uk.me.parabola.imgfmt.sys.ImgHeader.setHeader(ImgHeader.java:255)
This happens when one of the input files is zero length (or otherwise corrupt). Attached is a patch which detects short files and gives a message including the file name. ..Steve