]> granicus.if.org Git - postgresql/commit
Fix crash on compiling a regular expression with more than 32k colors.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 4 Apr 2013 16:04:57 +0000 (19:04 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 4 Apr 2013 16:32:13 +0000 (19:32 +0300)
commitaae32bad9e3031fc440e9f2b6acd9a6170ad13be
treefc41b6e3babcab63bff96fa2c07b0598d1f87844
parenteb1656b813435127f06df57f2202d2abc387ee88
Fix crash on compiling a regular expression with more than 32k colors.

Throw an error instead.

Backpatch to all supported branches.
src/backend/regex/regc_color.c
src/include/regex/regerrs.h
src/include/regex/regex.h
src/include/regex/regguts.h