[pgpool-committers: 2451] 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_2_STABLE
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=6c2e3e7c4c1fbb73ba5f0713ee71893670b529e5
Modified Files
--------------
watchdog/wd_ping.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
More information about the pgpool-committers
mailing list