Thread: BUG #3601: When we try to connect to postgres ti shows Unicode converter buffer overflow error.

BUG #3601: When we try to connect to postgres ti shows Unicode converter buffer overflow error.

From
"Unicode converter buffer overflow in psqlodbc driver"
Date:
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.
Hi.

Umm...
If possible, please set up Debug by odbc.ini, and send me /tmp/mylog_xxx999.log.

Regards,
Hiroshi Saito

From: "Unicode converter buffer overflow in psqlodbc driver"
<asheesh_arora@persistent.co.in>


>
> 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.