[pgpool-committers: 2449] pgpool: Fix to use void * for receiving return value of thread function

Yugo Nagata nagata at sraoss.co.jp
Fri Feb 20 14:59:33 JST 2015


Fix to use void * for receiving return value of thread function

Previously int was used and this could occur stack buffer overflow.
This caused an infinity loop of ping error at bringing up or down
VIP, since a loop variable in a for loop was overwritten to zero.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=80ddec29397f38467e6c0aaf23ec10decd6c3bea

Modified Files
--------------
src/watchdog/wd_ping.c |   12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)



More information about the pgpool-committers mailing list