From: <the...@us...> - 2006-12-15 07:00:39
|
Revision: 18004 http://svn.sourceforge.net/gaim/?rev=18004&view=rev Author: thekingant Date: 2006-12-14 23:00:32 -0800 (Thu, 14 Dec 2006) Log Message: ----------- This is way less confusing to me Modified Paths: -------------- trunk/libgaim/protocols/yahoo/yahoo_packet.c Modified: trunk/libgaim/protocols/yahoo/yahoo_packet.c =================================================================== --- trunk/libgaim/protocols/yahoo/yahoo_packet.c 2006-12-15 02:48:27 UTC (rev 18003) +++ trunk/libgaim/protocols/yahoo/yahoo_packet.c 2006-12-15 07:00:32 UTC (rev 18004) @@ -155,7 +155,7 @@ pair->key = strtol(key, NULL, 10); accept = x; /* if x is 0 there was no key, so don't accept it */ - if (len - pos + 1 <= 0) { + if (pos > len) { /* Truncated. Garbage or something. */ accept = FALSE; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |