[pgpool-committers: 2566] pgpool: Fixing a problem in elog.c when forwarding a message to fronten

Muhammad Usama m.usama at gmail.com
Thu May 28 21:35:22 JST 2015


Fixing a problem in elog.c when forwarding a message to frontend clients.

Error while forwarding the message to the frontend client can potentially cause
the infinite recursion and terminate the child with ERRORDATA_STACK_SIZE exceeded error.
Fix is to check the recursion depth of send_message_to_frontend() function
and pulling the plug if it is more than two levels deep.

Branch
------
V3_4_STABLE

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

Modified Files
--------------
src/utils/error/elog.c |   10 ++++++++++
1 file changed, 10 insertions(+)



More information about the pgpool-committers mailing list