aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex/regcomp.c
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2015-02-05 15:12:34 +0100
committerMichael Meskes <meskes@postgresql.org>2015-08-12 13:57:57 +0200
commita2b2565fc9318b8903ef4821bc0be40a64810aec (patch)
treec6c4c383f71cccc8f59578223c60c21470c28475 /src/backend/regex/regcomp.c
parent7a801ba8ce7befc2309ece2ca918eb688c67fda9 (diff)
downloadpostgresql-a2b2565fc9318b8903ef4821bc0be40a64810aec.tar.gz
postgresql-a2b2565fc9318b8903ef4821bc0be40a64810aec.zip
This routine was calling ecpg_alloc to allocate to memory but did not
actually check the returned pointer allocated, potentially NULL which could be the result of a malloc call. Issue noted by Coverity, fixed by Michael Paquier <michael@otacoo.com>
Diffstat (limited to 'src/backend/regex/regcomp.c')
0 files changed, 0 insertions, 0 deletions