]> 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:48:11 +0000 (19:48 +0300)
commitbf2b0a147857f63daa2e5c17eed0169861371af8
treec075c53dbb17fddcec93e53c1bd097e5e26af4ff
parentd7d5832012ae5174707643af1a450d26d3350719
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