pgsql: Prevent large allocation in snprintf to hold positional

From: momjian(at)svr1(dot)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Prevent large allocation in snprintf to hold positional
Date: 2005-03-02 05:22:23
Message-ID: 20050302052223.30B5E56380@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Prevent large allocation in snprintf to hold positional parameters.
Allocated size based on format string.

Modified Files:
--------------
pgsql/src/port:
snprintf.c (r1.11 -> r1.12)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/port/snprintf.c.diff?r1=1.11&r2=1.12)

Browse pgsql-committers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2005-03-02 06:53:52 Re: pgsql: Allow Win32 to support the O_SYNC open flag
Previous Message Tom Lane 2005-03-02 04:10:54 pgsql: Another go at making pred_test() handle all reasonable