pidgin.2.5.6: 49a2a494: *** Plucked rev ad057b75 (khc at pidgin.im)...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Sun May 3 20:15:21 EDT 2009


-----------------------------------------------------------------
Revision: 49a2a494d7a54a9edff3f1f45070e481c63d1697
Ancestor: 51dfebdf21d01fa23e8b114f87fd157ae623fe61
Author: darkrain42 at pidgin.im
Date: 2009-05-04T00:12:34
Branch: im.pidgin.pidgin.2.5.6
URL: http://d.pidgin.im/viewmtn/revision/info/49a2a494d7a54a9edff3f1f45070e481c63d1697

Modified files:
        libpurple/protocols/qq/qq_crypt.c

ChangeLog: 

*** Plucked rev ad057b75 (khc at pidgin.im):
correct what looks like an uninitialized read, not really tested much
but my QQ account can still sign on


-------------- next part --------------
============================================================
--- libpurple/protocols/qq/qq_crypt.c	cbc1c094ddb46b157dbc6d3a713fa879a941352b
+++ libpurple/protocols/qq/qq_crypt.c	9e92a6a638bbb2b9b206b7bf17f2becd15baea86
@@ -275,7 +275,7 @@ static inline gint decrypt_out(guint8 *d
 	}
 	
 	count64 = crypted_len / 8;
-	while (count64-- > 0){
+	while (--count64 > 0){
 		c32_prev[0] = crypted32[0]; c32_prev[1] = crypted32[1];
 		crypted_ptr += 8;
 


More information about the Commits mailing list