[pgpool-committers: 11] pgpool: Fix add_regex_pattern(). It does not allocate enough memory for
Tatsuo Ishii
ishii at postgresql.org
Tue Dec 6 10:35:19 JST 2011
Fix add_regex_pattern(). It does not allocate enough memory for each
black/white_function_list items. The function adds "^" and "$" to each
function items which do not contain those characters. Unfortunately
the function forgot to add extra 2 bytes for those characters. This
may lead to memory corruption errors when pgpool starting up.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=42499fe2e618afdc110acb0180490b431bc7123e
Modified Files
--------------
pool_config.c | 2 +-
pool_config.l | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
More information about the pgpool-committers
mailing list