Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6tXx-0006gG-TW for pgsql-hackers@arkaria.postgresql.org; Sun, 29 May 2016 05:45:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b6tXx-0002Hn-Bk for pgsql-hackers@arkaria.postgresql.org; Sun, 29 May 2016 05:45:57 +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 1b6tWb-0000iv-IS for pgsql-hackers@postgresql.org; Sun, 29 May 2016 05:44:33 +0000 Received: from mail-pf0-x233.google.com ([2607:f8b0:400e:c00::233]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1b6tWY-0006p3-GZ for pgsql-hackers@postgresql.org; Sun, 29 May 2016 05:44:32 +0000 Received: by mail-pf0-x233.google.com with SMTP id f144so41409912pfa.3 for ; Sat, 28 May 2016 22:44:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Fnrf8XzpmfNSrkztR3aq8Kgzmolq2TIQvaRDGp2PFvo=; b=WgFBXR3xWh0tcYOzoTmfXK69Grpt6jKhwFXWTpyRwjPbkJ8eSV1tIcmQWzMa1ENHjh UUh8I9GV2QZVLwoycYNBUHD0EHD91hzChKYxPIixKnyOIeODwIhX7buxyc4iuFtz5BaT hqUcy6YAcvSe9LRbMXZYgl9roSKxykeO1j3Jc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Fnrf8XzpmfNSrkztR3aq8Kgzmolq2TIQvaRDGp2PFvo=; b=Y5g0mh7vA0cWjgjkLozhgPB4DcR0DpQp13VHfxZvA1A8IzVH5TDlxftfOoAaPYw0Ah B6kTyqfgOStzH8yt+OgIT8B9o77hiFSLkNUjZXQ1v/Lj0XD7sQ8UimB0n/zwLFRw4hk9 5K2Pe3XuvuvIgKwsOhzzd8LaeUI8kguIxzSn2nfdPzjTgRm+6wMyfqGqjqTcmdbwScPc Y6V7q3LWofqlXuNfqjCawC/zLwy5Eqj+15CpjEyIOROHNzqa1fnpt2JfjoOkenc9CwYy Bxq/dneuM1FTfJQLqZ0H4sYdYxLtr7QZcKuSXwgGwkALxcVYRf26Fvmk6oB2tWdEADG0 vw1w== X-Gm-Message-State: ALyK8tIWNNqf69qnwyRq/0vvMH1xfJ4UMlGqDCpDc3yo+UW+x7osH6CpxJq59JMp/rrqjg== X-Received: by 10.98.67.93 with SMTP id q90mr35522966pfa.100.1464500669141; Sat, 28 May 2016 22:44:29 -0700 (PDT) Received: from tornado.leadboat.com (c-98-248-47-228.hsd1.ca.comcast.net. [98.248.47.228]) by smtp.gmail.com with ESMTPSA id tn7sm38531619pac.29.2016.05.28.22.44.28 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 28 May 2016 22:44:28 -0700 (PDT) Date: Sun, 29 May 2016 01:44:26 -0400 From: Noah Misch To: Robert Haas Cc: Andres Freund , Masahiko Sawada , "pgsql-hackers@postgresql.org" Subject: Re: Reviewing freeze map code Message-ID: <20160529054426.GF496776@tornado.leadboat.com> References: <20160502214818.psk3lmgyihk6gr3k@alap3.anarazel.de> <20160505182009.4xepvfzx5qyeu6w6@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Pg-Spam-Score: -2.7 (--) 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 On Fri, May 06, 2016 at 04:42:48PM -0400, Robert Haas wrote: > On Thu, May 5, 2016 at 2:20 PM, Andres Freund wrote: > > On 2016-05-02 14:48:18 -0700, Andres Freund wrote: > > + char new_vmbuf[BLCKSZ]; > > + char *new_cur = new_vmbuf; > > + bool empty = true; > > + bool old_lastpart; > > + > > + /* Copy page header in advance */ > > + memcpy(new_vmbuf, &pageheader, SizeOfPageHeaderData); > > > > Shouldn't we zero out new_vmbuf? Afaics we're not necessarily zeroing it > > with old_lastpart && !empty, right? > > Oh, dear. That seems like a possible data corruption bug. Maybe we'd > better fix that right away (although I don't actually have time before > the wrap). [This is a generic notification.] The above-described topic is currently a PostgreSQL 9.6 open item. Robert, since you committed the patch believed to have created it, you own this open item. If some other commit is more relevant or if this does not belong as a 9.6 open item, please let us know. Otherwise, please observe the policy on open item ownership[1] and send a status update within 72 hours of this message. Include a date for your subsequent status update. Testers may discover new open items at any time, and I want to plan to get them all fixed well in advance of shipping 9.6rc1. Consequently, I will appreciate your efforts toward speedy resolution. Thanks. [1] http://www.postgresql.org/message-id/20160527025039.GA447393@tornado.leadboat.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers