pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: tz@ingenion.de
To: pgsql-odbc@postgresql.org
Subject: Re: odbc bug in convert.c
Date: Fri, 16 Jul 2004 22:38:21 +0200
Message-ID: <200407162238.21895.peter_e@gmx.net> (raw)
In-Reply-To: <200407161250.51614.tz@ingenion.de>
References: <200407161250.51614.tz@ingenion.de>

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/




view thread (3+ messages)  latest in thread

Message-ID: <200407162238.21895.peter_e@gmx.net>
Permalink:  ../200407162238.21895.peter_e@gmx.net/
Also on:    postgresql.org/message-id/200407162238.21895.peter_e@gmx.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: peter_e@gmx.net, tz@ingenion.de
  Subject: Re: odbc bug in convert.c
  In-Reply-To: <200407162238.21895.peter_e@gmx.net>
  References: <200407161250.51614.tz@ingenion.de> <200407162238.21895.peter_e@gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox