changeset 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 14abfec55b1d
children 9c0337d4b878
files libpurple/protocols/qq/qq_crypt.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;