pgsql: Fix off-by-one memory allocation, as reported by Rod Taylor. - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Fix off-by-one memory allocation, as reported by Rod Taylor.
Date
Msg-id 20041117195438.09C1A3A43DE@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix off-by-one memory allocation, as reported by Rod Taylor.  Also
avoid repalloc'ing twice when once is sufficient.

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/src/backend/libpq:
        hba.c (r1.116.2.3 -> r1.116.2.4)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/libpq/hba.c.diff?r1=1.116.2.3&r2=1.116.2.4)

pgsql-committers by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix off-by-one memory allocation, as reported by Rod Taylor.
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix off-by-one memory allocation, as reported by Rod Taylor.