From 72a3058937bee67024b9bf87ff50f73409109c63 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 24 Dec 2010 09:32:35 -0600 Subject: libempathy: Fix free of uninitialized variables. When a pinned certificate is present, these don't get initialized. --- libempathy/empathy-tls-verifier.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libempathy') diff --git a/libempathy/empathy-tls-verifier.c b/libempathy/empathy-tls-verifier.c index 057c412f5..2f98d9364 100644 --- a/libempathy/empathy-tls-verifier.c +++ b/libempathy/empathy-tls-verifier.c @@ -260,6 +260,9 @@ perform_verification (EmpathyTLSVerifier *self, DEBUG ("Performing verification"); debug_certificate_chain (chain); + list = anchors = NULL; + n_list = n_anchors = 0; + /* * If the first certificate is an pinned certificate then we completely * ignore the rest of the verification process. -- cgit v1.2.3