[pgpool-committers: 2565] 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
------
master

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

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



More information about the pgpool-committers mailing list