pgsql: Get rid of unsafe sprintf and snprintf usages.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Get rid of unsafe sprintf and snprintf usages.
Date: 2010-05-14 00:32:21
Message-ID: 20100514003221.79CAD7541D2@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Get rid of unsafe sprintf and snprintf usages. Per compiler warnings.

Modified Files:
--------------
pgsql/contrib/pg_upgrade:
controldata.c (r1.2 -> r1.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_upgrade/controldata.c?r1=1.2&r2=1.3)
info.c (r1.3 -> r1.4)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_upgrade/info.c?r1=1.3&r2=1.4)
server.c (r1.1 -> r1.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_upgrade/server.c?r1=1.1&r2=1.2)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-05-14 00:39:51 pgsql: Remove another unsafe use of random data as a format string.
Previous Message Tom Lane 2010-05-14 00:19:47 pgsql: Spell __darwin__ correctly, to suppress compiler warning on OSX.