]> 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:31:59 +0000 (19:31 +0300)
commitc99e0d382f811cf0fbad50e912183ed4eb7b8de8
tree56b4bb386f143a2dd69a31242572785510f495b3
parent9508754ed7e3b5688c97a26bbe15af7e11d7f06a
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