Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2015-08-12 04:48:11 +0000
committerTom Lane2015-08-12 04:48:11 +0000
commit8a0258c31808c514755e3bba03cb052084c4887c (patch)
tree1f42eed6f6c314d012b28ec521e87e9b032307de /src/backend/parser
parent68fa28f77146653f1fcaa530d2f2f161bf5de479 (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/parser')
0 files changed, 0 insertions, 0 deletions