Skip site navigation (1) Skip section navigation (2)

pgsql: Adds some missing error handling to PGTYPESnumeric_div() in

From: neilc(at)svr1(dot)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Adds some missing error handling to PGTYPESnumeric_div() in
Date: 2005-07-01 05:13:59
Message-ID: 20050701051359.38B975282B@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/interfaces/ecpg/pgtypeslib:
        numeric.c (r1.21 -> r1.22)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/pgtypeslib/numeric.c.diff?r1=1.21&r2=1.22)

pgsql-committers by date

Next:From: Peter EisentrautDate: 2005-07-01 07:41:22
Subject: Re: PgFoundry mailings
Previous:From: Neil ConwayDate: 2005-07-01 05:12:06
Subject: pgsql: Fix some minor infelicities in ecpg's pgtypeslib: (1) `pstr' must

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group