This patch 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 by EDB.
Barring any objections I'll apply this to CVS later today.
pgsql-patches by date
|Next:||From: Tom Lane||Date: 2005-07-01 02:21:46|
|Subject: Re: 2PC transaction id |
|Previous:||From: Neil Conway||Date: 2005-07-01 01:28:18|
|Subject: ecpg: check for strdup() failure|