From: | "Chris Smith" <cdsmith(at)twu(dot)net> |
---|---|
To: | <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Bug in setUnicodeStream |
Date: | 2003-02-05 16:27:04 |
Message-ID: | 01a201c2cd33$6ba88e70$6700000a@KYA |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
I'm working more on my streaming patch that I posted earlier.
I noticed that setUnicodeStream is specified to take a parameter that
contains the number of bytes to read from the stream... but the
implementation instead treats the parameter as the number of characters to
be read from the stream. This could cause the stream to get over-read.
I'll fix this in my upcoming patch, since I'm rewriting this piece of code
anyway... but if you don't want the streaming patch I'm working on, you'll
need to deal with this some other way.
--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
From | Date | Subject | |
---|---|---|---|
Next Message | Barry Lind | 2003-02-05 16:46:00 | Re: 7.3.1 UTF-8 bug(?) and 7.2.x Charset compatibility |
Previous Message | Andy Kriger | 2003-02-05 16:17:15 | Re: Netbeans - JDBC Driver Class |