Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZPV8a-00026z-TN for pgsql-committers@arkaria.postgresql.org; Wed, 12 Aug 2015 12:28:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZPV8a-0000ye-2k for pgsql-committers@arkaria.postgresql.org; Wed, 12 Aug 2015 12:28:08 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZPV8Z-0000yN-DT for pgsql-committers@postgresql.org; Wed, 12 Aug 2015 12:28:07 +0000 Received: from mail-qg0-x230.google.com ([2607:f8b0:400d:c04::230]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZPV8W-0002GW-Oi; Wed, 12 Aug 2015 12:28:05 +0000 Received: by qged69 with SMTP id d69so8939026qge.0; Wed, 12 Aug 2015 05:28:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=pH3MzyMwUGCtRkD/B4farjOUa96Snrhy3psVvuD4TTg=; b=w08pCmyVq2s4hKN1yhx1NjX6MIppIhbFui+WrGw36VbzFM+94ajB+o43vxAkTuhG5n khj4qFsYEA27S6V05FH/I9Eaecga9zMGnhZlmD7XJVJLXPyOzNOLx07VlaPa05GSkJZW f6G1W104KW3nXe+YcH36ynd5AnS+e3z+r4jx+vLKt5FWSNOHelbQSxfs6/MjrhyMg+j5 4wi5wkSdTGZZFoBUqGfZ73uhQHvS3sRx0YYIwVR5tR8noKWsazzQgHPWiTHrAMCZtWO5 hgJnVKzYsiTwZqy+nCHCxuz/pHoaEYTKsvPuBsSH1RlGt9s2JYQTexGpI3bGlGDer+zL cp/A== MIME-Version: 1.0 X-Received: by 10.140.144.11 with SMTP id 11mr61877666qhq.46.1439382483851; Wed, 12 Aug 2015 05:28:03 -0700 (PDT) Received: by 10.140.92.209 with HTTP; Wed, 12 Aug 2015 05:28:03 -0700 (PDT) In-Reply-To: <55CB3529.1040902@postgresql.org> References: <55CB3529.1040902@postgresql.org> Date: Wed, 12 Aug 2015 21:28:03 +0900 Message-ID: Subject: Re: pgsql: This routine was calling ecpg_alloc to allocate to memory but di From: Michael Paquier To: Michael Meskes Cc: pgsql-committers@postgresql.org Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On Wed, Aug 12, 2015 at 8:59 PM, Michael Meskes wrote: > On 23.07.2015 09:19, Michael Paquier wrote: >> On Thu, Feb 5, 2015 at 11:14 PM, Michael Meskes wrote: >>> 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 >> >> Coming back to it, perhaps this meritates a backpatch? Even if that's >> unlikely to happen... > > cherry-picked and pushed to all back branches. > > Sorry, the disadvantage of testing in master for a while, I simply > forgot about this change. No pb. Thanks! I forgot myself... -- Michael -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers