summaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-08-12 00:48:11 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2015-08-12 00:48:39 -0400
commita54875602a057f8ee0cf5e880bfe2056b5dd11f0 (patch)
treec5c1c51babe3f89a911f03fdd5fd62a7ef98f671 /src/backend/executor
parent75d02d787804f643af09abcc87ade5c0b990b2b6 (diff)
Fix some possible low-memory failures in regexp compilation.
newnfa() failed to set the regex error state when malloc() fails. Several places in regcomp.c failed to check for an error after calling subre(). Each of these mistakes could lead to null-pointer-dereference crashes in memory-starved backends. Report and patch by Andreas Seltenreich. Back-patch to all branches.
Diffstat (limited to 'src/backend/executor')
0 files changed, 0 insertions, 0 deletions