File kopete-qq-memset.patch of Package kdenetwork4

Index: kopete/protocols/qq/evautil.cpp
===================================================================
--- kopete.orig/protocols/qq/evautil.cpp
+++ kopete/protocols/qq/evautil.cpp
@@ -78,7 +78,7 @@ namespace Eva {
 		plain[0] = ( rand() & 0xf8 ) | pos;
 		memset( plain_pre, 0, 8 );
 		memset( crypted_pre, 0, 8 );
-		memset( plain+1, rand()& 0xff, pos++ );
+		memset( plain+1, rand()& 0xff, ++pos );
 
 		// pad 2 bytes
 		for( i = 0; i< 2; i++ )
openSUSE Build Service is sponsored by