bug in ODBC Bind messege for SunOS
bug in ODBC Bind messege for SunOS
От:
Zahid Khan <khanzahid235@yahoo.com>
Дата:
Hi ,
Going through the code of psqlODBC i suspect a bug
in bind messege function BuildBindRequest() for
SunOS(64bit).
I found netleng is declared with size_t and the sizeof
size_t is of eight byte on SunOS 64bit whereas PG
protocol expect 4 bytes for legth over the network.
*int* type can be the quick fix -:)
Thanks,
Zahid K.
____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/
Re: bug in ODBC Bind messege for SunOS
От:
Hiroshi Inoue <inoue@tpf.co.jp>
Дата:
Zahid Khan wrote: > Hi , > > Going through the code of psqlODBC i suspect a bug > in bind messege function BuildBindRequest() for > SunOS(64bit). > > I found netleng is declared with size_t and the sizeof > size_t is of eight byte on SunOS 64bit whereas PG > protocol expect 4 bytes for legth over the network. Seems you are right. I would commit the fix tonight. Thanks. Hiroshi Inoue