/soc/2013/ankitkv/gobjectification: 0312182e3b07: Initialized a ...

Ankit Vani a at nevitus.org
Sat Jun 15 11:47:02 EDT 2013


Changeset: 0312182e3b070acfb8b6486c4ac81fac4e67e3c0
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-06-15 20:52 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/0312182e3b07

Description:

Initialized a hasher to NULL

diffstat:

 libpurple/protocols/jabber/caps.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/protocols/jabber/caps.c b/libpurple/protocols/jabber/caps.c
--- a/libpurple/protocols/jabber/caps.c
+++ b/libpurple/protocols/jabber/caps.c
@@ -457,7 +457,7 @@ jabber_caps_client_iqcb(JabberStream *js
 	/* Only validate if these are v1.5 capabilities */
 	if (userdata->hash) {
 		gchar *hash = NULL;
-		PurpleCipher *hasher;
+		PurpleCipher *hasher = NULL;
 		/*
 		 * TODO: If you add *any* hash here, make sure the checksum buffer
 		 * size in jabber_caps_calculate_hash is large enough. The cipher API



More information about the Commits mailing list