[pgpool-committers: 2452] 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
------
V3_4_STABLE

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

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



More information about the pgpool-committers mailing list