pgsql: Fix invalid array access in trgm_regexp.c.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

pgsql: Fix invalid array access in trgm_regexp.c.

Tom Lane-2
Fix invalid array access in trgm_regexp.c.

Brown-paper-bag bug in 08c0d6ad6: I missed one place that needed
to guard against RAINBOW arc colors.  Remarkably, nothing noticed
the invalid array access except buildfarm member thorntail.

Thanks to Noah Misch for assistance with tracking this down.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6ee479abfc27a18c37fe77140d16d3ac31f4ac31

Modified Files
--------------
contrib/pg_trgm/trgm_regexp.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)