On Mon, 24 Feb 2014, Hong-Thai Nguyen wrote:
I propably found the bug. On lines 205 and 237 of org.apache.poi.hpsf.Thumbnail 
:
long clipboardFormatTag = LittleEndian.getUInt(getThumbnail(),
                                                      OFFSET_CFTAG);

Must be LittleEndian.getInt()
FF FF FF FF will be intepreted as -1 as expected, not '4294967295'.

Any chance you could raise a bug for this in bugzilla, attach the patch, and ideally a unit test that shows it too?

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to