[pgpool-committers: 5434] pgpool: Fix corner case bug with strip_quote().
Tatsuo Ishii
ishii at sraoss.co.jp
Tue Jan 29 17:40:13 JST 2019
Fix corner case bug with strip_quote().
strip_quote(), which is called by pattern_compare() did not properly
handle empty query string case. In the worst case it could wipe out
memory after a pointer returned from malloc(), which could cause a
segmentation fault in free() called in pattern_compare().
Per bug 458.
Branch
------
V3_7_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=36452524b79291f51bcee8e3f4df0c43424b7912
Modified Files
--------------
src/utils/pool_select_walker.c | 38 ++++++++++++++++++++++++++++++++------
1 file changed, 32 insertions(+), 6 deletions(-)
More information about the pgpool-committers
mailing list