]> 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:58:16 +0000 (13:58 +0200)
commitd4215954747e5463ea5c161aa776040ec45c40e4
tree00e3ab698405573526ca3909f7e2d6e25a992507
parent7e23b63bd8e0776f90c915d72fced4215eefadb0
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