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

--- Comment #3 from Gabriele Columbro <[email protected]> 2011-07-01 12:06:08 
UTC ---
Created attachment 27241
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27241
1 character patch which makes the test case pass with "broken.xls"

The patch basically handles the case that 

channel.read()

returns 0 indefinitely.

It only adds a = to the < condition in the if.

Test case passes, but not sure why the issue generates (seems related to the
file size being multiple of 512 but I tried with a simple 512 header + 512
content xls file and it actually worked without the patch, so a bit puzzled :)

-- 
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