Обсуждение: pgsql: Fix 1-byte buffer overrun when OID exceeds 1 billion.

Поиск
Список
Период
Сортировка

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

От
tgl@postgresql.org (Tom Lane)
Дата:
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_0_STABLE

Modified Files:
--------------
    pgsql/src/bin/psql:
        common.c (r1.95.4.1 -> r1.95.4.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/common.c.diff?r1=1.95.4.1&r2=1.95.4.2)