Failed new gnutls context allocations in virNetTLSContextNew function
results in double free and segfault. Occasional memory leaks may also
occur.
Signed-off-by: Adrian Brzezinski
---
src/rpc/virnettlscontext.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/src
Signed-off-by: Adrian Brzezinski
---
docs/news.xml | 10 ++
1 file changed, 10 insertions(+)
diff --git a/docs/news.xml b/docs/news.xml
index 86c7734..9338381 100644
--- a/docs/news.xml
+++ b/docs/news.xml
@@ -51,6 +51,16 @@
+
+
+ rpc: cleanup
Changes:
- no new goto label
- passing ctxt->priority directly to VIR_FREE
- dedicated commit for news file
Adrian Brzezinski (2):
rpc: cleanup in virNetTLSContextNew
news: cleanup in virNetTLSContextNew
docs/news.xml | 10 ++
src/rpc/virnettlscontext.c |
On 15.04.2019 11:21, Daniel P. Berrangé wrote:
> On Fri, Apr 12, 2019 at 06:10:49PM +0200, Adrian Brzezinski wrote:
>> Failed new gnutls context allocations in virNetTLSContextNew function
>> results in double free and segfault. Occasional memory leaks may also
>> occur.
Failed new gnutls context allocations in virNetTLSContextNew function
results in double free and segfault. Occasional memory leaks may also
occur. You can read detailed description at:
https://bugzilla.redhat.com/show_bug.cgi?id=1699062
Signed-off-by: Adrian Brzezinski
---
docs/news.xml