pgsql: Fix memory leak during regular expression execution.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix memory leak during regular expression execution.
Дата
Msg-id E1WQI8J-0001GS-8N@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix memory leak during regular expression execution.

For a regex containing backrefs, pg_regexec() might fail to free all the
sub-DFAs that were created during execution, resulting in a permanent
(session lifespan) memory leak.  Problem was introduced by me in commit
587359479acbbdc95c8e37da40707e37097423f5.  Per report from Sandro Santilli;
diagnosis by Greg Stark.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/473194c09cb294151231374d2628ce624da346ba

Modified Files
--------------
src/backend/regex/regexec.c |    1 +
1 file changed, 1 insertion(+)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix memory leak during regular expression execution.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix memory leak during regular expression execution.