]> granicus.if.org Git - postgresql/commit
Fix issues with pg_ctl
authorStephen Frost <sfrost@snowman.net>
Wed, 5 Mar 2014 06:30:03 +0000 (01:30 -0500)
committerStephen Frost <sfrost@snowman.net>
Wed, 5 Mar 2014 06:30:03 +0000 (01:30 -0500)
commiteb933162cdcbcaa5c56c75eb21b9c055af9748a0
treeb1727d2f75327c5952f512d03d426e038aca52b9
parent6f37c08057685ee3c6c63222dba0dac012760dde
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.
src/bin/pg_ctl/pg_ctl.c