[pgpool-committers: 12] 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 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
------
V3_1_STABLE

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

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