Re: new regexp_*(text, text, int) functions crash

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: new regexp_*(text, text, int) functions crash
Дата
Msg-id 105911.1631385762@sss.pgh.pa.us
обсуждение исходный текст
Ответ на new regexp_*(text, text, int) functions crash  (Jaime Casanova <jcasanov@systemguards.com.ec>)
Список pgsql-hackers
Jaime Casanova <jcasanov@systemguards.com.ec> writes:
> BTW, this only happens when the third parameter is large. Here is an
> example that consistently crash here:
> select regexp_count('jaime.casanova', 'valid', 102481);

Hah ... pg_regexec has never had a check that the search start position
is sane.  Will fix.

            regards, tom lane



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