Ensure that memcmp() does not run off the end of memory, per Kurt Roeckx.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 2194ed88de490e303811debd454199ba0fd69558
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-02-03T17:56:04Z
Releases: 7.4.2
Ensure that memcmp() does not run off the end of memory, per Kurt Roeckx.
(Same patch committed to HEAD but I fat-fingered the commit message...)

Files

PathChange+/−
src/backend/utils/adt/regexp.c modified +3 −2