[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SIGSEGV on master on ssh_channel_free
  [Thread Prev] | [Thread Next]
 
 
- Subject: Re: SIGSEGV on master on ssh_channel_free
 - From: Aris Adamantiadis <aris@xxxxxxxxxxxx>
 - Reply-to: libssh@xxxxxxxxxx
 - Date: Tue, 23 May 2017 10:09:25 +0200
 - To: libssh@xxxxxxxxxx
 
On 22/05/17 13:11, Tilo Eckert wrote: > > Maybe you could add a hint to the documentation of ssh_disconnect() that > it frees all channels, internal buffers, etc and that all such pointers > are invalid after calling this function. Andreas is always happy about > patches. ;) > > Regards > Tilo > That's something I'd really like to change in the next versions, but I can't find a backward compatible way of doing it. channels should be freed on ssh_channel_free. But then what's happening code out there that's not freeing channels ? Aris
| SIGSEGV on master on ssh_channel_free | Jason Curl <jason@xxxxxxxxxxxxxxxxxxxxxxxx> | 
| Re: SIGSEGV on master on ssh_channel_free | Jason Curl <jason@xxxxxxxxxxxxxxxxxxxxxxxx> | 
| Re: SIGSEGV on master on ssh_channel_free | Tilo Eckert <tilo.eckert@xxxxxxx> |