Re: Test harness for regex code (to allow importing Tcl's test suite)
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alexander Lakhin <exclusion@gmail.com>
Cc: Mark Dilger <mark.dilger@enterprisedb.com>,
"pgsql-hackers@postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2021-01-17T17:54:48Z
Lists: pgsql-hackers
Alexander Lakhin <exclusion@gmail.com> writes:
> select * from test_regex(repeat('(x)', 32), 'a', 'c');
> leads to
> ==00:00:00:05.736 2605072== Invalid write of size 4
Indeed, silly oversight on my part. Fixed, thanks!
regards, tom lane
Commits
-
Add missing array-enlargement logic to test_regex.c.
- 0c7d3bb99f72 14.0 landed
-
Add a test module for the regular expression package.
- ca8217c10138 14.0 landed