pgsql: Fix a potential free() of string literal in oid2name, per report

From: neilc(at)svr1(dot)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix a potential free() of string literal in oid2name, per report
Date: 2004-12-02 06:14:50
Message-ID: 20041202061450.A68FF3A5712@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix a potential free() of string literal in oid2name, per report from
Michael Fuhr. Along the way, fix a bunch of accesses to uninitialized
memory, add a mystrdup() routine and use it to cleanup some code.

Modified Files:
--------------
pgsql/contrib/oid2name:
oid2name.c (r1.25 -> r1.26)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/oid2name/oid2name.c.diff?r1=1.25&r2=1.26)

Browse pgsql-committers by date

  From Date Subject
Next Message User Am 2004-12-02 08:37:34 press - pr: Finished the translation.
Previous Message Bruce Momjian 2004-12-02 04:40:37 pgsql: Add: > > * Allow FOR UPDATE queries to do NOWAIT locks >