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)
commit28bcb6402ee0848a4461d20fc09b6291c1a908dd
tree8b29e3e04aee4a575795479b8c17cb5eca42de03
parentaa859e73728de1e8897af1e3656aa58112cd1020
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