X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7C648D1B737 for ; Thu, 24 Jun 2004 02:27:18 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 20287-01 for ; Thu, 24 Jun 2004 05:27:16 +0000 (GMT) Received: from mr1.surnet.cl (av1.surnet.cl [216.155.73.168]) by svr1.postgresql.org (Postfix) with ESMTP id EE090D1B2BD for ; Thu, 24 Jun 2004 02:27:14 -0300 (ADT) Received: from smtp1.surnet.cl (216.155.73.168) by mr1.surnet.cl (7.0.024) id 403F6D2501B33901 for pgsql-hackers@postgresql.org; Thu, 24 Jun 2004 01:27:11 -0400 Received: from av1.surnet.cl ([216.155.73.168]) by smtp1.surnet.cl (MailMonitor for SMTP v1.2.2 ) ; Thu, 24 Jun 2004 01:27:11 -0400 (CLT) Received: from cluster.surnet.cl (216.155.73.164) by smtp1.surnet.cl (7.0.024) id 406CA66201848C98 for pgsql-hackers@postgresql.org; Thu, 24 Jun 2004 01:27:11 -0400 Received: from 216.155.88.75.dsl.surnet.cl (200.85.198.247) by cluster.surnet.cl (7.0.024) (authenticated as alvherre@surnet.cl) id 403C729000C790CF for pgsql-hackers@postgresql.org; Thu, 24 Jun 2004 01:27:13 -0400 Received: by 216.155.88.75.dsl.surnet.cl (Postfix, from userid 500) id 712F516806; Thu, 24 Jun 2004 01:27:13 -0400 (CLT) Date: Thu, 24 Jun 2004 01:27:12 -0400 From: Alvaro Herrera To: Hackers Subject: bug in GUC Message-ID: <20040624052712.GA7158@dcc.uchile.cl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.5.1i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.3 tagged_above=0.0 required=5.0 tests=RCVD_IN_NJABL, RCVD_IN_NJABL_PROXY, RCVD_IN_SORBS X-Spam-Level: * X-Archive-Number: 200406/848 X-Sequence-Number: 55398 Hackers, I think there a bug in the GUC mechanism. The custom variables patch added several malloc() and a strdup() call, and they are never checked for an out of memory condition. -- Alvaro Herrera () "El que vive para el futuro es un iluso, y el que vive para el pasado, un imbécil" (Luis Adler, "Los tripulantes de la noche")