Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group