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

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix off-by-one memory allocation, as reported by Rod Taylor.
Date: 2004-11-17 19:54:38
Message-ID: 20041117195438.09C1A3A43DE@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2004-11-17 19:54:59 pgsql: Fix off-by-one memory allocation, as reported by Rod Taylor.
Previous Message Tom Lane 2004-11-17 19:54:26 pgsql: Fix off-by-one memory allocation, as reported by Rod Taylor.