aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/buffer/bufmgr.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:28 -0400
commitc5bfcc18a09b3f56ae0fd434ff6c72bd185949c1 (patch)
tree5143c45333fb13aa05c582482d963e21acaa442b /src/backend/storage/buffer/bufmgr.c
parent58d2e7fb70584598e026a39f515c5f3c5e589857 (diff)
downloadpostgresql-c5bfcc18a09b3f56ae0fd434ff6c72bd185949c1.tar.gz
postgresql-c5bfcc18a09b3f56ae0fd434ff6c72bd185949c1.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/storage/buffer/bufmgr.c')
0 files changed, 0 insertions, 0 deletions