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 1mxJBD-0005wX-1L for pgsql-bugs@arkaria.postgresql.org; Wed, 15 Dec 2021 01:34:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mxJBB-0002Sj-Eh for pgsql-bugs@arkaria.postgresql.org; Wed, 15 Dec 2021 01:34:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mxJB9-0002Sa-PG for pgsql-bugs@lists.postgresql.org; Wed, 15 Dec 2021 01:34:01 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mxJB2-0008K4-7a for pgsql-bugs@lists.postgresql.org; Wed, 15 Dec 2021 01:33:59 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id DD3C13200495; Tue, 14 Dec 2021 20:33:47 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 14 Dec 2021 20:33:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=ZBx3ypSKBD7MDV8E3WAj57Lzh+o /wDf785Y9KO7pYNc=; b=h32oXSEIVSihkGCcMLMbysXpxqdDmOckSTPjsMInnVK U2oQSy0vRII8f7E7FOXZuZivC0Ntw0UxpGriU5+93crFNTJkZ1GlNNvtj6AQmpvs efmS9UreJotj6r5gZEYNrhxhnaYJHbar/rIQczDFLiRxxS0UOO0HygcU0+IO2GuP adaGvRKzvxbZ1oic8E/G6aPioS1hktQlnnrU6GLwpx64NDJ1iRbq4INZKs+/zJvg HG33Y1ZQKcufTOiUj5oYkCQHcpQbvAaa0GlvHZ3dOYfujD5Zj9mkVJ/QdYLDesXL Unc9dCnZKp01ywYXCbIJZIGKq0xdTusOlEvRw5BK4/g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ZBx3yp SKBD7MDV8E3WAj57Lzh+o/wDf785Y9KO7pYNc=; b=AGdQhOu3ZLL1QkQ2IA5Ytr xKtTdGC2dwpHNx1Z6s/PGgYd8fKK7DmmMgF7+SvmrdGxZIZBugktPrZyXflvDbPO EhB1awlmWQzueR5m0GmgJ/vHRjd0RUBrh3Kh069VgfhiyaEmGPsvozW2ATbNlq3f /Y8pnPFmsazWUR2W1ty+LuwyqZTcDxar2VotDXtCeQpdkRklRRAbmfQu4XLQSoME n46rVoPJs7gAddz+D1M+mSzIoj+p/P4LhJCbahRu5eBvRy3SkOJQ9cKhsylI0Aof 2PVWIMtkNxk58W8SxN2LjTOnF01WDjkwr1SfxRVilVhTqgzTr1OVO9EE0VQym65g == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrledugdeftdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdejtddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepvdegudeuhfdtueeltedtveejheeh ieevueeigeelteegleejleeiueeiheegvefhnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 14 Dec 2021 20:33:45 -0500 (EST) Date: Wed, 15 Dec 2021 10:33:40 +0900 From: Michael Paquier To: Dmitry Dolgov <9erthalion6@gmail.com> Cc: "James Pang (chaolpan)" , "pgsql-bugs@lists.postgresql.org" Subject: Re: BUG #17326: Postgres crashed when pg_reload_conf() with ssl certificate parameters Message-ID: References: <17326-d40bbb1386b6c9c3@postgresql.org> <20211208134601.gauysdttc65aoeze@localhost> <20211210142231.fvldmwwy4fr477h2@localhost> <20211214154604.cfmv4kpo2inkt2pp@localhost> <20211214173654.i54n54e7v73dvflj@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dGGFG+VaPcNxpLDE" Content-Disposition: inline In-Reply-To: <20211214173654.i54n54e7v73dvflj@localhost> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --dGGFG+VaPcNxpLDE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Dec 14, 2021 at 06:36:54PM +0100, Dmitry Dolgov wrote: > something weird happens after set_extra_field, and after this point ssl > context memory seems to be corrupted. Right before that an assign_hook > from set_user is invoked to do something around "deprecated" options, > that's why it looks suspicious. As soon as no "deprecated" options left > in the config the issue disappears. Hmm, okay. Thanks. I have no idea if this extension is doing something it should not, but I'd like to keep in mind that there could be something that could be improved in core depending on what this module is trying to achieve. At least that's a possibility. -- Michael --dGGFG+VaPcNxpLDE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmG5RfMACgkQnvQgOdby QH0V+A//eC7Slz/KARoSMFqesWsnghCTZg90ldNIuDJRkUG+QtGOhzilZzVW9WKp 0TriSKBsz4lWUWH6BkvyNnb0YHMYubdm3yZOs4Lx6tVD3wpvyjDn3E4zwqZkFwpF MeZGg6xrvOkqhmPF97nyEo+I24OtGPv4H0WsdXRs9J81HmlYm6awmLLtWL8lL7Fh 2FEbJ880nSgBgQ5v5itvXbJgy61uzMCQ15RURqCIewiXNRamQ/dqOiPnsspjgLLZ /NZZynMytKC3YrUQtQso/mqD63Dl4hJAh3i959V8bqOw8tmGbz+fDoMRk2lDbw+T JT3Zo3R5h9EByVfArjlIoYnhigSQLPLOI5EIQySRSMwdP4tfr8ocmPo8Rk/RtPkO JwDToBcG+r99rrLMHA0cu84VIheLBkTmGsP4LB4+n1y8cm4ZK3+BSq+74dP4Hq/3 h6M3KeTjyjpbvK03vG7P8OfmkVkGx7u1z1kYUbCYxpoJ2cY0/kQuNY/PtB1k15b1 r2Vnkxl0QHWAR3ud7lTo5cFuMOCrfZOIjz71Tm1FWF0KpvsAbkUJ1QJno5NWGkPt R6cs66YG8DhyoZv7SbhUiKWuVmK/ozBlgbLulSTv1Oj4tipz8/yJxmLgSrpDjVnY 3rZHpiNnvSURErC3Ysi0Q1bszx6aYqUF/5mbVZEvP0li5bjJC/o= =RT+T -----END PGP SIGNATURE----- --dGGFG+VaPcNxpLDE--