[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix ssh_event_add_session() when session socket has two pollhandlers

On Thursday, 29 March 2018 11:57:21 CEST Meng Hourk Tan wrote:
> Hello,

Hi Meng,
> Here's a patch to fix an issue when moving pollhandlers from a session to a
> ssh_event object.
> The issue occurs when session socket has two different pollhandler (for
> poll_in and poll_out, when using proxycommand in my case),
> only the poll_in was moved and poll_out was still in session poll context
> due to a side effect in ssh_poll_ctx_remove().
> This patch fix the loop in ssh_event_add_session().

thanks for your contribution, I've pushed it with some comments reformatting.


Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                asn@xxxxxxxxxxxxxx

Archive administrator: postmaster@lists.cynapses.org