Hi there!

Here's a bug fix for crashing which occurs e.g. when changing mode to 
invisible:

# start
--- icqpacket.cpp.old   Tue Dec 11 17:25:21 2001
+++ icqpacket.cpp       Tue Dec 11 17:25:27 2001
@@ -828,7 +828,7 @@
{
   char len[2];
   len[1] = '\0';
-  char contacts[uins.size()*13];
+  char contacts[uins.size()*13+1];
   contacts[0] = '\0';

   for (UinList::iterator iter = uins.begin(); iter != uins.end(); iter++) {

# end

Poor terminator was kicked always outside the allocated memory. <:)
Btw, thanx for the great work here!


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to