On Tue, Oct 02, 2018 at 02:38:03AM +0200, Alexander Bluhm wrote:
> On Sun, Sep 30, 2018 at 11:55:58AM +0800, Nan Xiao wrote:
> > The following patch fixed the resource leak when netcat works as a TLS
> > server. Sorry if I am wrong, thanks!
>
> There is another tls leak on the client side after
>
Hi bluhm,
Thanks very much for your reply!
Yes, your patch covers all the corner cases, thanks!
On 10/2/2018 8:38 AM, Alexander Bluhm wrote:
> On Sun, Sep 30, 2018 at 11:55:58AM +0800, Nan Xiao wrote:
>> The following patch fixed the resource leak when netcat works as a TLS
>> server. Sorry if
On Sun, Sep 30, 2018 at 11:55:58AM +0800, Nan Xiao wrote:
> The following patch fixed the resource leak when netcat works as a TLS
> server. Sorry if I am wrong, thanks!
There is another tls leak on the client side after
if (s == -1)
Ping tech@,
Any developer can comment on this patch? I think it is indeed a bug.
Thanks!
On 9/30/2018 11:55 AM, Nan Xiao wrote:
> Hi tech@,
>
> The following patch fixed the resource leak when netcat works as a TLS
> server. Sorry if I am wrong, thanks!
>
>
> Index: netcat.c
>
Hi tech@,
The following patch fixed the resource leak when netcat works as a TLS
server. Sorry if I am wrong, thanks!
Index: netcat.c
===
RCS file: /cvs/src/usr.bin/nc/netcat.c,v
retrieving revision 1.194
diff -u -p -r1.194