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:26
Message-ID: 20041117195426.56CD93A4397@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.

Modified Files:
--------------
pgsql/src/backend/libpq:
hba.c (r1.133 -> r1.134)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/libpq/hba.c.diff?r1=1.133&r2=1.134)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2004-11-17 19:54:38 pgsql: Fix off-by-one memory allocation, as reported by Rod Taylor.
Previous Message Tom Lane 2004-11-17 18:32:33 pgsql: Set DEFAULT_EDITOR to notepad.exe on Windows, as per recent