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

From Michael Paquier
Subject Re: BUG #15367: Crash in pg_fe_scram_free when using foreign tables
Date
Msg-id 20180907204403.GC32058@paquier.xyz
Whole thread Raw
In response to Re: BUG #15367: Crash in pg_fe_scram_free when using foreign tables  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #15367: Crash in pg_fe_scram_free when using foreign tables
List pgsql-bugs
On Fri, Sep 07, 2018 at 04:18:55PM -0400, Tom Lane wrote:
> 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.

Agreed.  Do you want to give it a go?  I can see some of those code
paths?  Likely you spotted more.

> But I couldn't see a path that would lead to the observed failure.

Agreed.
--
Michael

Attachment

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #15367: Crash in pg_fe_scram_free when using foreign tables
Next
From: PG Bug reporting form
Date:
Subject: BUG #15369: Postgres fails to start with default "ssl = true"configuration