Re: new regexp_*(text, text, int) functions crash - Mailing list pgsql-hackers

From Tom Lane
Subject Re: new regexp_*(text, text, int) functions crash
Date
Msg-id 105911.1631385762@sss.pgh.pa.us
Whole thread Raw
In response to new regexp_*(text, text, int) functions crash  (Jaime Casanova <jcasanov@systemguards.com.ec>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Added missing invalidations for all tables publication
Next
From: Artur Zakirov
Date:
Subject: Re: BUG #15293: Stored Procedure Triggered by Logical Replication is Unable to use Notification Events