Fix crash on compiling a regular expression with more than 32k colors.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: aae32bad9e3031fc440e9f2b6acd9a6170ad13be
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2013-04-04T16:32:13Z
Releases: 9.0.14
Fix crash on compiling a regular expression with more than 32k colors.

Throw an error instead.

Backpatch to all supported branches.

Files

PathChange+/−
src/backend/regex/regc_color.c modified +8 −0
src/include/regex/regerrs.h modified +4 −0
src/include/regex/regex.h modified +1 −0
src/include/regex/regguts.h modified +1 −0