pgsql: Fix crash on compiling a regular expression with more than 32k c - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Fix crash on compiling a regular expression with more than 32k c
Date
Msg-id E1UNnLQ-0003tD-8q@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix crash on compiling a regular expression with more than 32k colors.

Throw an error instead.

Backpatch to all supported branches.

Branch
------
REL8_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/7a30f29b05043939a95c178068b215efd489348d

Modified Files
--------------
src/backend/regex/regc_color.c |    8 ++++++++
src/include/regex/regerrs.h    |    4 ++++
src/include/regex/regex.h      |    1 +
src/include/regex/regguts.h    |    1 +
4 files changed, 14 insertions(+), 0 deletions(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix crash on compiling a regular expression with more than 32k c
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix crash on compiling a regular expression with more than 32k c