]> granicus.if.org Git - postgresql/commit
Adds some missing error handling to PGTYPESnumeric_div() in ecpg's
authorNeil Conway <neilc@samurai.com>
Fri, 1 Jul 2005 05:13:58 +0000 (05:13 +0000)
committerNeil Conway <neilc@samurai.com>
Fri, 1 Jul 2005 05:13:58 +0000 (05:13 +0000)
commit555f5139e080b12ec0769bba435aba03be7d5bde
treeaba770671d04375be9f2e17d13e66bbb91d0e5f8
parent9fad4cb6047db0a0bfe0e183b046a7d87b810a74
Adds some missing error handling to PGTYPESnumeric_div() in ecpg's
pgtypeslib: (1) we need to check the return value of sub_abs() (2) we
need to check the return value of 4 calls to digitbuf_alloc().

Per Coverity static analysis performed by EnterpriseDB.
src/interfaces/ecpg/pgtypeslib/numeric.c