On Sun, Sep 23, 2007 at 01:56:15PM +0200, Nico Golde wrote:
> Hi,
> I wrote a patch which should fix the issue. It is attached.
> Kind regards
> Nico
> 
> --- ircii-pana-1.1/source/hook.c      2003-04-11 03:09:07.000000000 +0200
> +++ check/ircii-pana-1.1/source/hook.c        2007-09-23 13:53:24.000000000 
> +0200
> @@ -841,6 +841,10 @@
>        * Figure out where the hooks are for the event type were asserting
>        */
>       /* Numeric list */
> +
> +     if(which > sizeof(hook_functions) - 1)
> +             return NO_ACTION_TAKEN;
> +

This patch looks wrong.  You probably want:
        if(which > sizeof(hook_functions)/sizeof(*hook_functions) - 1)

Ubuntu seems to have used this patch, so I think they still
have that issue, and I'm not sure how to contact them.  So
I hope Kees can look into this.


Kurt




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to