Fix crash on compiling a regular expression with more than 32k colors.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Fix crash on compiling a regular expression with more than 32k colors. Throw an error instead. Backpatch to all supported branches.
Files
| Path | Change | +/− |
|---|---|---|
| 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 |