[pgpool-committers: 1302] pgpool: Fix occasional segfault in query cache + extended protocol.
Tatsuo Ishii
ishii at postgresql.org
Sat Oct 19 12:47:19 JST 2013
Fix occasional segfault in query cache + extended protocol.
When the query is not "cache safe", bind_msg->param_offset was not set
in Bind(). However, Execute() unconditionally uses
bind_msg->param_offset to convert bind parameters to string so that
they can be added to the cached query string and it causes segfault
because bind_msg->param_offset is a garbage. Also logic bug to
calculate bind_msg->param_offset is corrected.
Per bug#76.
Branch
------
V3_3_STABLE
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=5843a748615f33d4fff33ce11a02359ae4fa3002
Modified Files
--------------
pool_proto_modules.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the pgpool-committers
mailing list