# HG changeset patch # User Ka-Hing Cheung # Date 1241373501 0 # Node ID bf7b3cd5ed250ab9e3c1b0f81278b78312dd0c89 # Parent d387f1164b3a65cf954578891b309106b7f376b9 correct what looks like an uninitialized read, not really tested much but my QQ account can still sign on diff -r d387f1164b3a -r bf7b3cd5ed25 libpurple/protocols/qq/qq_crypt.c --- a/libpurple/protocols/qq/qq_crypt.c Sat May 02 19:14:07 2009 +0000 +++ b/libpurple/protocols/qq/qq_crypt.c Sun May 03 17:58:21 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;