Re: BUG #15367: Crash in pg_fe_scram_free when using foreign tables - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #15367: Crash in pg_fe_scram_free when using foreign tables
Date
Msg-id 20016.1536351535@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #15367: Crash in pg_fe_scram_free when using foreign tables  (Michael Paquier <michael@paquier.xyz>)
Responses Re: BUG #15367: Crash in pg_fe_scram_free when using foreign tables  (Michael Paquier <michael@paquier.xyz>)
List pgsql-bugs
Michael Paquier <michael@paquier.xyz> writes:
> Thanks.  This fails when freeing the password field in fe_scram_state.

I had been studying that when the report first arrived.  I'm not really
happy with the coding in pg_saslprep(): it leaves garbage in its output
parameter in some code paths, and I think it leaks memory in others.
But I couldn't see a path that would lead to the observed failure.

            regards, tom lane


pgsql-bugs by date:

Previous
From: Jeremy Evans
Date:
Subject: Re: BUG #15367: Crash in pg_fe_scram_free when using foreign tables
Next
From: Michael Paquier
Date:
Subject: Re: BUG #15367: Crash in pg_fe_scram_free when using foreign tables