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:59
Message-ID: 20041117195459.651443A43EE@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_3_STABLE

Modified Files:
--------------
pgsql/src/backend/libpq:
hba.c (r1.87.2.4 -> r1.87.2.5)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/libpq/hba.c.diff?r1=1.87.2.4&r2=1.87.2.5)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2004-11-17 21:23:37 pgsql: Remove ill-considered suppression of gcc warnings in plperl, and
Previous Message Tom Lane 2004-11-17 19:54:38 pgsql: Fix off-by-one memory allocation, as reported by Rod Taylor.