# HG changeset patch # User Paul Aurich # Date 1241395954 0 # Node ID c18f78b2db6ba4e8434cb823f079e4d28aed35d4 # Parent 14abfec55b1d16c50795846072fc0fdf2234014d *** 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 diff -r 14abfec55b1d -r c18f78b2db6b libpurple/protocols/qq/qq_crypt.c --- 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;