Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qDdjn-000287-M8 for pgsql-bugs@arkaria.postgresql.org; Mon, 26 Jun 2023 04:22:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qDdjm-0002YP-KC for pgsql-bugs@arkaria.postgresql.org; Mon, 26 Jun 2023 04:22:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qDdjl-0002YG-6o for pgsql-bugs@lists.postgresql.org; Mon, 26 Jun 2023 04:22:02 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qDdji-000Tdf-2O for pgsql-bugs@lists.postgresql.org; Mon, 26 Jun 2023 04:22:00 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id A7D945C0136; Mon, 26 Jun 2023 00:21:56 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 26 Jun 2023 00:21:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1687753316; x=1687839716; bh=j+ XR+jQjgN8caXDbD8M03DmAwyGAfibTTgwMlCmTodo=; b=ehzgYQtEv/3tJshvKV JOalfhdJR2+adwxtbyYy0pTZSseIlcqaE5rZ4xiVgWKTgr6VSPd/GGP7a41/WMf+ cCW8hl5A/VGhdlekVy83VdGVKnZZ6mTIaHJeQdia2pmuVIzs0O+sZlFFQ0EMdXSq Jl4t0qfUWSea9Lg5LoYgPQSTKpCc5WQbEkIh9PNBk8QroTYR44XWqzl2O1sVdnKv YmVtKeyyyqwRTghG7db549sjJXBzDLl/Y1bfQagqbO5tOzhGrkVydBNlJYrNDIQj x14rpeLNENA7GDCCwlEGrt3pCqtZ8C2Y8aumHL/o6MLgI0nxKZjYd33Dv8VRlnOk YigQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1687753316; x=1687839716; bh=j+XR+jQjgN8ca XDbD8M03DmAwyGAfibTTgwMlCmTodo=; b=nZua3PqpTf7pS8yvM3XW2Pj4vMaU9 8cjGqZWwZzoGqxF51bTX7/rQVYf58u9O/bqIKk2wYF4UI4I9Kr6dlO3cpSRRyF44 g6SEgxIiCX9GLbiF1jDIUEKLTYlPFG09pMixztsCyUZy9rcITi3BO+r2E3ZJEnCD kUld9jMiic2zmJ6FWA+RwnXUbOWecuh/oygqXWySSUCWspxE3QX3TUkDICYLSUd5 3o0iw2TtERnBIJrBBCS9yPDKNL7OkvQoazjZyiLSTk4M8myH6/bZghT7sXXEtkcW EyqERtEChUJgMIz3AIfl6/U33hqOxCpu05UsBQi+J6FVcdbf2wKBwIOuw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgeehvddgfeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdlfeehmdenucfjughrpeffhf fvvefukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghq uhhivghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvg hrnhepgeffjeevgfevuddvjedtvddtieejheduueelvddufedtgfefjedvkeevkeeivddv necuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghr rdighiii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 26 Jun 2023 00:21:54 -0400 (EDT) Date: Mon, 26 Jun 2023 13:21:47 +0900 From: Michael Paquier To: Alexander Lakhin Cc: Tom Lane , zuming.jiang@inf.ethz.ch, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17995: Segmentation fault caused by UPDATE statement Message-ID: References: <17995-9f20ff3e6389db4c@postgresql.org> <285547.1687636319@sss.pgh.pa.us> <68148dac-a574-f421-2905-51ebde2fe000@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ehzdoft4MoC0Ez2e" Content-Disposition: inline In-Reply-To: <68148dac-a574-f421-2905-51ebde2fe000@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --ehzdoft4MoC0Ez2e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Jun 25, 2023 at 06:00:00AM +0300, Alexander Lakhin wrote: > BTW, there is a commitfest entry to eliminate a bunch of other stack > overflow hazards (may be the fuzzer can find some of them too): > https://commitfest.postgresql.org/43/4239/ Thanks for the pointer, I'll double-check that. Some of the locations of stack depth checks proposed involve performance-sensitive code paths, though, like mcxt.c :/ -- Michael --ehzdoft4MoC0Ez2e Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmSZElsACgkQnvQgOdby QH3C2RAAnXvCcqv133nhg9YRs9VEIZ1KmeY47OVX2hhwtbkfbCLUTn98XridodY/ QPaxLndO2LbLKx/Je3OZyb4EscRryrYGtYYA0u3X8hOz9u+oSRnbxTBfOxWy5Q/q eS6puwsppnl7tzs3MyDrHGry/YzmVdDzkozIbVgdAN8niwFZpp0Hu5GSJ46PKZYF E4250JCPLkJ01QZq7d4rExk15Hi7U1wHPYz62fTtPerYyrJDEiA2gtZsj4jfDEAR UaQZ68DLvYfDbjW9zeiuYPAaqzK4aKi0MTVa5ch/jTKuVwJIbRYcTJ9J0fFi08VO UqwTLcDv9nuBlJ03/fPGz1bUxqSA7XWgCE672QTQ5OfVm4N3+9YniBWUSpZEVzNN EpkJJo0/Q2aHcqNQHE6HJqxQq6gqAHbueVw9dvAY2Pp0gLG/9uc+X9OUQ53jxPPG dmMQisPZu7E7pz6OR7dUVXQbrOikjvMVSZeevErfR7TkgX2GbM+Tzv/9ttUKn1wF Dn0osYj6qHebmixDOJZTx50I38Oj7MGEFDS05Y081/r+aQ2F14mwuPcjx/87GeHG y0TVNpSKHVWLEhR68JqZfyJpGO3UYdn7HdHjvsbaHnGJ97im9YBDIQXALxI9wo5N W6U0X1EQhf3KhFN/n0MQCvT9pkqm0oCnKA/hk7pnGUdBpEC+DNA= =Zrp/ -----END PGP SIGNATURE----- --ehzdoft4MoC0Ez2e--