Mercurial > pidgin
changeset 26805:bf7b3cd5ed25
correct what looks like an uninitialized read, not really tested much
but my QQ account can still sign on
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Sun, 03 May 2009 17:58:21 +0000 |
parents | d387f1164b3a |
children | 9b7b8ee25af4 |
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 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;