Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c8HRl-0000r0-Kp for pgsql-hackers@arkaria.postgresql.org; Sun, 20 Nov 2016 02:01:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1c8HRk-0000HM-QW for pgsql-hackers@arkaria.postgresql.org; Sun, 20 Nov 2016 02:01:32 +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_2) (envelope-from ) id 1c8HRj-0000GQ-8e for pgsql-hackers@postgresql.org; Sun, 20 Nov 2016 02:01:31 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c8HRg-0000J9-Vc for pgsql-hackers@postgresql.org; Sun, 20 Nov 2016 02:01:30 +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 uAK21NAL013878; Sat, 19 Nov 2016 21:01:23 -0500 From: Tom Lane To: Robert Haas cc: Andreas Seltenreich , "pgsql-hackers@postgresql.org" Subject: Re: [sqlsmith] Crash on GUC serialization In-reply-to: References: <871sy78wno.fsf@credativ.de> <2655.1479576672@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Sat, 19 Nov 2016 20:56:00 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13876.1479607283.1@sss.pgh.pa.us> Date: Sat, 19 Nov 2016 21:01:23 -0500 Message-ID: <13877.1479607283@sss.pgh.pa.us> X-Pg-Spam-Score: -4.8 (----) 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 Robert Haas writes: > On Sat, Nov 19, 2016 at 12:31 PM, Tom Lane wrote: >> Thanks for the report! Looks like the serialization code has overlooked >> the fact that string-valued GUCs can be NULL. Surprising we didn't >> find that before ... > Why do we allow this, anyway? I think it simplifies some initialization cases. Not sure how hard it would be to remove that. But this isn't the first such bug ... 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