From: <mar...@us...> - 2006-08-06 18:19:41
|
Revision: 16656 Author: markhuetsch Date: 2006-08-06 11:19:36 -0700 (Sun, 06 Aug 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16656&view=rev Log Message: ----------- Fixed a buffer overflow that occurred when showing large packets. Modified Paths: -------------- trunk/src/protocols/qq/qq_proxy.c Modified: trunk/src/protocols/qq/qq_proxy.c =================================================================== --- trunk/src/protocols/qq/qq_proxy.c 2006-08-06 17:41:51 UTC (rev 16655) +++ trunk/src/protocols/qq/qq_proxy.c 2006-08-06 18:19:36 UTC (rev 16656) @@ -56,7 +56,7 @@ void _qq_show_packet(gchar *desc, gchar *buf, gint len) { - char buf1[4096], buf2[10]; + char buf1[8*len+2], buf2[10]; int i; buf1[0] = 0; for (i = 0; i < len; i++) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |