]> git.ipfire.org Git - thirdparty/postgresql.git/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:05 +0000 (19:32 +0300)
commit88b000c1b6daabd9044cd3c68b0b9e94eacb4c65
tree544899cb3ce3f594086341b22c0c084670e3c049
parent6ce083f08a7a30360695c0e9a927fe24f4c77143
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