Bug in setUnicodeStream

Поиск
Список
Период
Сортировка
От Chris Smith
Тема Bug in setUnicodeStream
Дата
Msg-id 01a201c2cd33$6ba88e70$6700000a@KYA
обсуждение исходный текст
Список 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


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Andy Kriger"
Дата:
Сообщение: Re: Netbeans - JDBC Driver Class
Следующее
От: shk@linuxbr.com.br
Дата:
Сообщение: Re: possible character accent bug on pgjdbc73