pgsql: Fix issues with pg_ctl - Mailing list pgsql-committers

From Stephen Frost
Subject pgsql: Fix issues with pg_ctl
Date
Msg-id E1WL5OJ-0001UU-B5@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Fix issues with pg_ctl  (Thom Brown <thom@linux.com>)
List 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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Fix whitespace
Next
From: Thom Brown
Date:
Subject: Re: pgsql: Fix issues with pg_ctl