Re: odbc bug in convert.c - Mailing list pgsql-odbc

From Peter Eisentraut
Subject Re: odbc bug in convert.c
Date
Msg-id 200407162238.21895.peter_e@gmx.net
Whole thread Raw
In response to odbc bug in convert.c  (Thomas Zehbe <tz@ingenion.de>)
List pgsql-odbc
Thomas Zehbe wrote:
> The "strcpy(saved_locale, setlocale(LC_ALL, NULL));" wites 326 bytes
> to the "saved_locale" target, wich is only 256 bytes long (defined at
> line 387).

How is it possible for a locale name to be 326 bytes long?  What is the
actual value that is copied?

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-odbc by date:

Previous
From: Thomas Zehbe
Date:
Subject: odbc bug in convert.c
Next
From: "Michael Aldor"
Date:
Subject: ADO Connection with Postgres