]> granicus.if.org Git - postgresql/commit
This routine was calling ecpg_alloc to allocate to memory but did not
authorMichael Meskes <meskes@postgresql.org>
Thu, 5 Feb 2015 14:12:34 +0000 (15:12 +0100)
committerMichael Meskes <meskes@postgresql.org>
Wed, 12 Aug 2015 11:57:57 +0000 (13:57 +0200)
commita2b2565fc9318b8903ef4821bc0be40a64810aec
treec6c4c383f71cccc8f59578223c60c21470c28475
parent7a801ba8ce7befc2309ece2ca918eb688c67fda9
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>
src/interfaces/ecpg/ecpglib/descriptor.c
src/interfaces/ecpg/ecpglib/execute.c
src/interfaces/ecpg/ecpglib/extern.h
src/interfaces/ecpg/ecpglib/memory.c