pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Ludek Finstrle <luf@pzkagis.cz>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Patch for snprintf problem (bug #1000650) 5-th try
Date: Thu, 15 Jun 2006 06:28:59 +0900
Message-ID: <44907F9B.2070106@tpf.co.jp> (raw)
In-Reply-To: <20060614075054.GA10109@soptik.pzkagis.cz>
References: <20060607173910.GA28221@soptik.pzkagis.cz>
	<4488B6EA.9050107@tpf.co.jp>
	<20060609081637.GA8153@soptik.pzkagis.cz>
	<20060609121323.GA17258@soptik.pzkagis.cz>
	<20060613094617.GA28219@soptik.pzkagis.cz>
	<448EC7EA.1080405@tpf.co.jp>
	<20060614075054.GA10109@soptik.pzkagis.cz>

Ludek Finstrle wrote:
> Tue, Jun 13, 2006 at 11:12:58PM +0900, Hiroshi Inoue wrote:
>   
>> Ludek Finstrle wrote:
>>     
>>> I make patch againist CVS after yours huge commit. What's your opinion?
>>>   
>>>       
>> Is the second parameter of snprintf_add needed ?
>> Aren't the parameter values always strlen(the first parameter) ?
>>     
>
> You're right. I think more about it and "add" means add to the end
> so I changed the patch as you pointed.
>
>   
>> Is snprintf_len needed instead of snprintf ?
>> Though the current code ignores snprintf errors, it's simply
>> my negligence..
>>     
>
> I'm voting for keeping safer snprintf_len. But I can change it if
> you wish.
>
> New patch attached.
>   

OK please commit it.

regards,
Hiroshi Inoue



view thread (3+ messages)  latest in thread

Message-ID: <44907F9B.2070106@tpf.co.jp>
Permalink:  ../44907F9B.2070106@tpf.co.jp/
Also on:    postgresql.org/message-id/44907F9B.2070106@tpf.co.jp

 · 

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: inoue@tpf.co.jp, luf@pzkagis.cz
  Subject: Re: Patch for snprintf problem (bug #1000650) 5-th try
  In-Reply-To: <44907F9B.2070106@tpf.co.jp>
  References: <20060607173910.GA28221@soptik.pzkagis.cz> <4488B6EA.9050107@tpf.co.jp> <20060609081637.GA8153@soptik.pzkagis.cz> <20060609121323.GA17258@soptik.pzkagis.cz> <20060613094617.GA28219@soptik.pzkagis.cz> <448EC7EA.1080405@tpf.co.jp> <20060614075054.GA10109@soptik.pzkagis.cz> <44907F9B.2070106@tpf.co.jp>

* 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