BUG #3601: When we try to connect to postgres ti shows Unicode converter buffer overflow error. - Mailing list pgsql-bugs

From Unicode converter buffer overflow in psqlodbc driver
Subject BUG #3601: When we try to connect to postgres ti shows Unicode converter buffer overflow error.
Date
Msg-id 200709060923.l869NuH4074034@wwwmaster.postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged online:

Bug reference:      3601
Logged by:          Unicode converter buffer overflow in psqlodbc driver
Email address:      asheesh_arora@persistent.co.in
PostgreSQL version: 8.2.4
Operating system:   Solaris Sparc V9 32bit
Description:        When we try to connect to postgres ti shows Unicode
converter buffer overflow error.
Details:

We have unixoDBC version unixODBC2.2.11. and psqlodbc version 08.02.04.

We have compiled the psqlodbc driver in unicode mode i.e. without
--disable-unicode flag, it has generated a file psqlodbcw.so. When we try to
connect to postgres it fails giving a core dump.

When we use datadirect driver manager, then it gives Unicode converter
buffer overflow error.

When we compile the psqlodbc with --disable-unicode flag, it generates
psqlodbca.so which works fine.

The error is only with unicode mode.

pgsql-bugs by date:

Previous
From: Dave Page
Date:
Subject: Re: [pgadmin-hackers] public.pg_class isn't a catalog table
Next
From: hubert depesz lubaczewski
Date:
Subject: create index concurrently blocks on transactions in other databases