Skip to content
Snippets Groups Projects
Commit e046e1df authored by Bruce Momjian's avatar Bruce Momjian
Browse files

The current implementation of BlobInputStream does

not properly handle 8-bit unsigned data as it blindly
casts the byte to an int, which java most helpfully
promotes to a signed type.  This causes problems when
you can only return -1 to indicated EOF.

The following patch fixes the bug and has been tested
locally on image data.

Chad David
parent dbb219b8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment