aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistxlog.c
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:34 -0400
commita35a527f2d6b28f78e9eab42801ec0170ffcb898 (patch)
tree8886ec53613edd73cd4b62e20d6831bbb5f0d77e /src/backend/access/gist/gistxlog.c
parente9a080d3692893081306fee262565ba87080dfd0 (diff)
downloadpostgresql-a35a527f2d6b28f78e9eab42801ec0170ffcb898.tar.gz
postgresql-a35a527f2d6b28f78e9eab42801ec0170ffcb898.zip
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/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions