Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: bug in ODBC Bind messege for SunOS


  • From: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
  • To: Zahid Khan <khanzahid235(at)yahoo(dot)com>
  • Cc: pgsql-odbc(at)postgresql(dot)org
  • Subject: Re: bug in ODBC Bind messege for SunOS
  • Date: Tue, 11 Sep 2007 09:19:06 +0900
  • Message-id: <46E5DEFA.2060807@tpf.co.jp> <text/plain>

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




Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group