bug in ODBC Bind messege for SunOS

From: Zahid Khan <khanzahid235(at)yahoo(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: bug in ODBC Bind messege for SunOS
Date: 2007-09-10 18:54:21
Message-ID: 809641.74765.qm@web54507.mail.re2.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

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/

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Hiroshi Inoue 2007-09-11 00:19:06 Re: bug in ODBC Bind messege for SunOS
Previous Message Michal Vitecek 2007-09-07 09:27:56 python, threads and pgsqlodbc problems