pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Dmitry Dolgov <9erthalion6@gmail.com>
Cc: James Pang (chaolpan) <chaolpan@cisco.com>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #17326: Postgres crashed when pg_reload_conf()  with ssl certificate parameters
Date: Wed, 15 Dec 2021 10:33:40 +0900
Message-ID: <YblF9NopbGHQ65/G@paquier.xyz> (raw)
In-Reply-To: <20211214173654.i54n54e7v73dvflj@localhost>
References: <17326-d40bbb1386b6c9c3@postgresql.org>
	<PH0PR11MB51915EF4E577B83F664F9AD8D66F9@PH0PR11MB5191.namprd11.prod.outlook.com>
	<20211208134601.gauysdttc65aoeze@localhost>
	<PH0PR11MB5191DFBF6685E3EF9632EAF0D6709@PH0PR11MB5191.namprd11.prod.outlook.com>
	<PH0PR11MB5191F4B6C7B80F2DC2BC5F89D6719@PH0PR11MB5191.namprd11.prod.outlook.com>
	<20211210142231.fvldmwwy4fr477h2@localhost>
	<PH0PR11MB51910828B552926204514891D6749@PH0PR11MB5191.namprd11.prod.outlook.com>
	<YbcqQXfYRhzCgud2@paquier.xyz>
	<20211214154604.cfmv4kpo2inkt2pp@localhost>
	<20211214173654.i54n54e7v73dvflj@localhost>

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

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (13+ messages)  latest in thread

Message-ID: <YblF9NopbGHQ65/G@paquier.xyz>
Permalink:  ../YblF9NopbGHQ65%2FG@paquier.xyz/
Also on:    postgresql.org/message-id/YblF9NopbGHQ65/G@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: michael@paquier.xyz, 9erthalion6@gmail.com, chaolpan@cisco.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17326: Postgres crashed when pg_reload_conf()  with ssl certificate parameters
  In-Reply-To: <YblF9NopbGHQ65/G@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox