qemu-trivial
[Top][All Lists]
Advanced

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

Re: [Qemu-trivial] [PATCH] char: fix missing return in error path for ch


From: Michael Tokarev
Subject: Re: [Qemu-trivial] [PATCH] char: fix missing return in error path for chardev TLS init
Date: Sat, 8 Oct 2016 11:15:41 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.3.0

30.09.2016 18:02, Daniel P. Berrange wrote:
If the qio_channel_tls_new_(server|client) methods fail,
we disconnect the client. Unfortunately a missing return
means we then go on to try and run the TLS handshake on
a NULL I/O channel. This gives predictably segfaulty
results.

Applied to -trivial, thanks!

/mjt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]