Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3Oez-0001xC-Ch for pgsql-bugs@arkaria.postgresql.org; Fri, 12 Jun 2015 13:06:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z3Oey-0006uA-UD for pgsql-bugs@arkaria.postgresql.org; Fri, 12 Jun 2015 13:06:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z3Oey-0006tz-CH for pgsql-bugs@postgresql.org; Fri, 12 Jun 2015 13:06:12 +0000 Received: from gauss.credativ.com ([93.94.130.89]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Z3Oev-00074h-9R for pgsql-bugs@postgresql.org; Fri, 12 Jun 2015 13:06:11 +0000 Received: from gauss.credativ.com (localhost [127.0.0.1]) by gauss.credativ.com (Postfix) with ESMTP id 9FC2F1450065; Fri, 12 Jun 2015 15:06:06 +0200 (CEST) Received: from feivel (wan3.credativ.com [94.79.138.166]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mme@gauss.credativ.com) by gauss.credativ.com (Postfix) with ESMTPSA id 8FA031450064; Fri, 12 Jun 2015 15:06:06 +0200 (CEST) Received: by feivel (Postfix, from userid 1000) id 47F384051F; Fri, 12 Jun 2015 15:06:06 +0200 (CEST) Date: Fri, 12 Jun 2015 15:06:06 +0200 From: Michael Meskes To: Bill Parker Cc: pgsql-bugs@postgresql.org Subject: Re: Lack of Sanity Checking in file 'misc.c' for PostgreSQL 9.4.x Message-ID: <20150612130606.GB27586@feivel.credativ.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Thu, Jun 11, 2015 at 12:11:37PM -0700, Bill Parker wrote: > file 'misc.c', there are several instances where a call to malloc() > is made, but no check for a return value of NULL is made, which Your patch lists one such case, but where are the other "several"? Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Meskes at (Debian|Postgresql) dot Org Jabber: michael.meskes at gmail dot com VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs