Re: Test harness for regex code (to allow importing Tcl's test suite)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alexander Lakhin <exclusion(at)gmail(dot)com>
Cc: Mark Dilger <mark(dot)dilger(at)enterprisedb(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Test harness for regex code (to allow importing Tcl's test suite)
Date: 2021-01-17 17:54:48
Message-ID: 226555.1610906088@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alexander Lakhin <exclusion(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2021-01-17 17:58:02 Re: cgit view availabel
Previous Message Tom Lane 2021-01-17 17:16:38 Re: evtfoid and evtowner missing in findoidjoins/README