Re: BUG #15116: pg_recvlogical always fails - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: BUG #15116: pg_recvlogical always fails
Date
Msg-id 20180317230241.GA19730@paquier.xyz
Whole thread Raw
In response to Re: BUG #15116: pg_recvlogical always fails  (Magnus Hagander <magnus@hagander.net>)
Responses Re: BUG #15116: pg_recvlogical always fails
List pgsql-bugs
On Sat, Mar 17, 2018 at 06:33:48PM +0100, Magnus Hagander wrote:
> In this scenario, since we don't actively *enforce* this version
> difference, I think we should apply the fix from #1 in this scenario as
> well. Otherwise you might use an old pg_recvlogical to connect to a newer
> server, and open up a vulnerability somehow. I assume pg_recvlogical of
> that age doesn't actually try to do something with it, but it still feels
> safer for the future.

Yeah, there is no actual reason to not apply #1 everywhere as well.  The
back-patch is a no-brainer.
--
Michael

Attachment

pgsql-bugs by date:

Previous
From: Petar Bogdanovic
Date:
Subject: Re: BUG #15120: use of getcwd(3)/chdir(2) during path resolution(exec.c)
Next
From: Michael Paquier
Date:
Subject: Re: BUG #15115: temporary AND unlogged tables for parallel db import