Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bF4nQ-00080E-9o for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Jun 2016 19:23:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bF4nP-00019R-S3 for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Jun 2016 19:23:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bF4m3-00085L-Ry for pgsql-hackers@postgresql.org; Mon, 20 Jun 2016 19:22:19 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bF4m0-0003yI-MB for pgsql-hackers@postgresql.org; Mon, 20 Jun 2016 19:22:19 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u5KJMAwf010967; Mon, 20 Jun 2016 15:22:10 -0400 From: Tom Lane To: Andreas Seltenreich cc: pgsql-hackers@postgresql.org Subject: Re: [sqlsmith] OOM crash in plpgsql_extra_checks_check_hook In-reply-to: <874m8nn0hv.fsf@elite.ansel.ydns.eu> References: <874m8nn0hv.fsf@elite.ansel.ydns.eu> Comments: In-reply-to Andreas Seltenreich message dated "Mon, 20 Jun 2016 21:06:36 +0200" Date: Mon, 20 Jun 2016 15:22:10 -0400 Message-ID: <10966.1466450530@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Andreas Seltenreich writes: > Just had a parallel worker of a memory-starved instance of sqlsmith > crash. plpgsql_extra_checks_check_hook forgot to check the result of > its malloc call here: Good catch, will fix. Thanks! regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers