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





--- Comment #3 from Trejkaz <[EMAIL PROTECTED]>  2008-04-29 17:15:15 PST ---
I saw that other bug, but I thought it might be a different issue as that bug
has been around since 2004, yet this one only started in version 3.0.2.

Did something about the way blocks were loaded change in 3.0.2?  I've had a bit
of a look myself by diffing the poifs package between 3.0.1 and 3.0.2, and the
only change I can see which might cause the issue is:

public RawDataBlock(final InputStream stream, int blockSize)

+               // IOUtils.readFully will always read the
+               //  requested number of bytes, unless it hits
+               //  an EOF
+            _eof = true;

This is in the code which logs a warning instead of throwing an error, if the
final block isn't a multiple of 512... I do recall that being fixed in 3.0.2
but it's possible the way it was fixed causes an error in some files.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to