Thread: pgsql: Fix 1-byte buffer overrun when OID exceeds 1 billion.

pgsql: Fix 1-byte buffer overrun when OID exceeds 1 billion.

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Fix 1-byte buffer overrun when OID exceeds 1 billion.  This probably can't
cause any serious harm in normal cases, but if you have gcc buffer overrun
checking turned on, that will notice.  Found by Jack Orenstein.  Problem
was already fixed in CVS HEAD.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/bin/psql:
        common.c (r1.110.2.3 -> r1.110.2.4)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/common.c.diff?r1=1.110.2.3&r2=1.110.2.4)