pgsql: Fix issues with pg_ctl

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix issues with pg_ctl
Date: 2014-03-05 06:33:19
Message-ID: E1WL5OJ-0001UU-B5@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix issues with pg_ctl

The new, small, free_readfile managed to have bug in it which could
cause it to try and free something it shouldn't, and fix the case
where it was being called with an invalid pointer leading to a
segfault.

Noted by Bruce, issues introduced and fixed by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/eb933162cdcbcaa5c56c75eb21b9c055af9748a0

Modified Files
--------------
src/bin/pg_ctl/pg_ctl.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Thom Brown 2014-03-05 11:48:02 Re: pgsql: Fix issues with pg_ctl
Previous Message Peter Eisentraut 2014-03-05 02:53:37 pgsql: Fix whitespace