ASF Bugzilla – Attachment 17394 Details for
Bug 38230
[PATCH] UnicodeString#fillFields invalid read of non US characters >=128 and <=255
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
poi-UnicodeString-typecast.2006-01-11.diff
poi-UnicodeString-typecast.2006-01-11.diff (text/plain), 536 bytes, created by
Perolo Silantico
on 2006-01-11 23:36:16 UTC
(
hide
)
Description:
poi-UnicodeString-typecast.2006-01-11.diff
Filename:
MIME Type:
Creator:
Perolo Silantico
Created:
2006-01-11 23:36:16 UTC
Size:
536 bytes
patch
obsolete
>--- org/apache/poi/hssf/record/UnicodeString.java.orig 2006-01-11 22:17:43.000000000 +0100 >+++ org/apache/poi/hssf/record/UnicodeString.java 2006-01-11 23:29:56.000000000 +0100 >@@ -242,7 +242,7 @@ > throw new RecordFormatException("Expected continue record."); > } > if (isUncompressed) { >- char ch = (char)in.readByte(); >+ char ch = (char)( (short)0xff & (short)in.readByte() ); > tmpString.append(ch); > } else { > char ch = (char) in.readShort();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 38230
: 17394