https://bz.apache.org/bugzilla/show_bug.cgi?id=69667

Jason Slater <jason.sla...@ring-zero.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #6 from Jason Slater <jason.sla...@ring-zero.com> ---


It thinks there are 81 characters to read.
it allocates 109, since 109 < 2*81
it reads the bytes, after which i do see that the last (0..108) element is a 32
(space) not an expected 00 given the encoding

On the POI side, if it's handling UTF-16LE, the allocated data array should
never be an odd number, right?

Does the allocated size of the data array (109) determine how many bytes will
be read by readFully()?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to