[pgpool-committers: 2450] 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_3_STABLE

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

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



More information about the pgpool-committers mailing list