Re: BUG #17830: Incorrect memory access in trgm_regexp

Поиск
Список
Период
Сортировка
От Alexander Lakhin
Тема Re: BUG #17830: Incorrect memory access in trgm_regexp
Дата
Msg-id 68d98663-2adb-56ba-5072-d1c0f41cf3f0@gmail.com
обсуждение исходный текст
Ответ на Re: BUG #17830: Incorrect memory access in trgm_regexp  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
11.03.2023 19:39, Tom Lane wrote:
> Yeah, that de-duplication code is incorrectly assuming that the
> NFA has more than zero arcs, which it doesn't because the regex
> compiler saw that the pattern is unsatisfiable.
>
> Thanks for the report!

I've retested trgm_regexp with all regular expressions presented in
src/test/regress/sql/regex.sql and src/test/modules/test_regex/sql/test_regex.sql
and found no new anomalies.

Thank you for the fix!

Best regards,
Alexander



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

Предыдущее
От: Dean Rasheed
Дата:
Сообщение: Re: BUG #17809: MERGE ... UPDATE fails with BEFORE ROW UPDATE trigger when target row updated concurrently
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17832: ERROR: failed to apply nullingrels to a non-Var in HEAD