https://issues.apache.org/bugzilla/show_bug.cgi?id=56194

Hong-Thai


-----Message d'origine-----
De : Nick Burch [mailto:[email protected]] 
Envoyé : lundi 24 février 2014 14:34
À : POI Users List
Objet : RE: Extract thumbnail of MS Office ?

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]


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

Reply via email to