I forgot to mention you must be in #%s%s%s%s%s%s%s%s%s%s when doing the
lil crash on someone else.

There's also a bug, which is a small one that _only_ affects the mandrake
bundled BitchX. I assume this bug is caused by the default
colors(script) that mandrake uses. Don't dump the colors, just fix the bug
: ) The bug is when you're in a BitchX session and type //EOF it causes a
segfault, though like I said this a very very minute bug, it's still a
bug.


On Tue, 4 Jul 2000, Bryan Paxton wrote:

> Here's two patches, one for 75p3 and one for 1.0c16.
> The patches are also available from ftp.bitchx.org now(I think, they
> weren't there when I first checked).
> Anyway, /invite nickname #%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s will cause BitchX
> to segfault. 
> 
> Instructions:
> 
> cd BitchX/source
> patch < /path/to/75p3-format.patch
> 
> It should apply cleanly.  Then recompile bx and restart your client.
> 
> --- parse.c.orig      Fri Feb 26 11:01:55 1999
> +++ parse.c   Mon Jul  3 05:17:14 2000
> @@ -1030,7 +1030,7 @@
>                               bitchsay("Press Ctrl-K to join %s (%s)", 
>invite_channel, ArgList[2]);
>                       else
>                               bitchsay("Press Ctrl-K to join %s", invite_channel);
> -                     logmsg(LOG_INVITE, from, 0, invite_channel);
> +                     logmsg(LOG_INVITE, from, 0, "%s", invite_channel);
>               }
>               if (!(chan = lookup_channel(invite_channel, from_server, 0)))
>                       if ((w_chan = check_whowas_chan_buffer(invite_channel, 0)))
> @@ -1097,7 +1097,7 @@
>                       fudge_nickname(from_server);
>               if (get_int_var(AUTO_RECONNECT_VAR))
>                       servercmd (NULL, sc, empty_string, NULL);
> -             logmsg(LOG_KILL, from, 0, ArgList[1]?ArgList[1]:"(No Reason)");
> +             logmsg(LOG_KILL, from, 0, "%s", ArgList[1]?ArgList[1]:"(No Reason)");
>       }
>       update_all_status(current_window, NULL, 0);
>  }
> 
> 
> Instructions:
> 
> cd BitchX/source
> patch < /path/to/1.0c16-format.patch
> 
> #It should apply cleanly.  Then recompile bx and restart your client.
> 
> --- parse.c.orig      Mon Jul  3 05:20:51 2000
> +++ parse.c   Mon Jul  3 05:21:15 2000
> @@ -1150,7 +1150,7 @@
>                               else
>                                       bitchsay("Press %s to join %s", s, 
>invite_channel);
>                       }
> -                     logmsg(LOG_INVITE, from, 0, invite_channel);
> +                     logmsg(LOG_INVITE, from, 0, "%s", invite_channel);
>               }
>               if (!(chan = lookup_channel(invite_channel, from_server, 0)))
>                       check_auto_join(from_server, from, invite_channel, ArgList[2]);
> @@ -1211,7 +1211,7 @@
>                       fudge_nickname(from_server, 1);
>               if (get_int_var(AUTO_RECONNECT_VAR))
>                       servercmd (NULL, sc, empty_string, NULL);
> -             logmsg(LOG_KILL, from, 0, ArgList[1]?ArgList[1]:"(No Reason)");
> +             logmsg(LOG_KILL, from, 0, "%s", ArgList[1]?ArgList[1]:"(No Reason)");
>       }
>       update_all_status(current_window, NULL, 0);
>  }
> 
> 

-- 
Bryan Paxton

"How should I know if it works? That's what beta testers are for. I
          only coded it."
 -- Linus Torvalds.

Public key can be found at http://speedbros.org/Bryan_Paxton.asc

Reply via email to