]> 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:20 +0000 (19:32 +0300)
commit7a30f29b05043939a95c178068b215efd489348d
treef5ef2135f522fdd94b1806a1c5a201b95f174558
parent292f7b27260aaebd27f66db2fc14e8c8da975513
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