Your message dated Wed, 3 Jun 2009 22:01:48 +0200
with message-id <[email protected]>
and subject line Re: Bug#501466: irssi: patch for send message segfault when 
using silc plugin
has caused the Debian Bug report #501466,
regarding irssi: patch for send message segfault when using silc plugin
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
501466: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501466
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: irssi
Version: 0.8.12-5
Severity: normal
Tags: patch

Hi,

Please find attached a patch against 0.8.12 which fixes a segfault
when using the irssi-plugin-silc package with irssi. The problem
manifests when you try to send a message, irssi would segfault in
skip_target() due to a null dereference.

Credit for the patch[0] goes to Skywing <[email protected]>.

Thanks!
Micah

0. http://permalink.gmane.org/gmane.network.irc.irssi.devel/322

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages irssi depends on:
ii  libc6                     2.7-14         GNU C Library: Shared libraries
ii  libglib2.0-0              2.16.6-1       The GLib library of C routines
ii  libncurses5               5.6+20080925-1 shared libraries for terminal hand
ii  libperl5.10               5.10.0-15      Shared Perl library
ii  libssl0.9.8               0.9.8g-13      SSL shared libraries
ii  perl                      5.10.0-15      Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.10.0 5.10.0-15      minimal Perl system

irssi recommends no packages.

Versions of packages irssi suggests:
pn  irssi-scripts                 <none>     (no description available)

-- no debconf information
diff -ru irssi_orig/src/fe-common/irc/fe-irc-messages.c irssi-0.8.12/src/fe-common/irc/fe-irc-messages.c
--- irssi_orig/src/fe-common/irc/fe-irc-messages.c      2007-10-06 04:40:39.000000000 -0500
+++ irssi-0.8.12/src/fe-common/irc/fe-irc-messages.c    2008-03-25 21:32:05.000000000 -0500
@@ -43,6 +43,9 @@
        int i = 0;
        const char *val, *chars;

+       if (!server)
+               return target;
+
        /* Quick check */
        if (server->prefix[(int)(unsigned char)*target] == 0)
                return target;

--- End Message ---
--- Begin Message ---
Version: 0.8.13-1

        Hi!

 Sorry for late response ...

* Micah Anderson <[email protected]> [2008-10-07 18:20:25 CEST]:
> Please find attached a patch against 0.8.12 which fixes a segfault
> when using the irssi-plugin-silc package with irssi. The problem
> manifests when you try to send a message, irssi would segfault in
> skip_target() due to a null dereference.
> 
> Credit for the patch[0] goes to Skywing <[email protected]>.

 I will try to get that into stable - might make sense to have it in
there. At least try to apply the upstream approach to it to the version
in stable, which is quite similar to what Skywing did.

 Thanks. :)
Rhonda


--- End Message ---

Reply via email to