diff libpurple/protocols/qq/qq_crypt.c @ 25604:c18f78b2db6b

*** Plucked rev ad057b75 (khc@pidgin.im): correct what looks like an uninitialized read, not really tested much but my QQ account can still sign on
author Paul Aurich <paul@darkrain42.org>
date Mon, 04 May 2009 00:12:34 +0000
parents 5f454b975a99
children b34d5e9b3d9b
line wrap: on
line diff
--- a/libpurple/protocols/qq/qq_crypt.c	Mon May 04 00:03:20 2009 +0000
+++ b/libpurple/protocols/qq/qq_crypt.c	Mon May 04 00:12:34 2009 +0000
@@ -275,7 +275,7 @@
 	}
 	
 	count64 = crypted_len / 8;
-	while (count64-- > 0){
+	while (--count64 > 0){
 		c32_prev[0] = crypted32[0]; c32_prev[1] = crypted32[1];
 		crypted_ptr += 8;