DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42255>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42255





------- Additional Comments From [EMAIL PROTECTED]  2007-04-25 18:22 -------
Created an attachment (id=20047)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20047&action=view)
Patch to fix the issue

Straightforward fix.  Image file is apparently truncated.  Code in fillBytes
wasn't checking for a -1 return code from read().  Removed error prone method
since DataInputStream already has readFully() which does exactly the same
thing, and changed calls to use the built-in one.

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

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

Reply via email to