Page 1 of 1

Help with Crash issue

Posted: Sat Jul 14, 2012 4:25 pm
by cards
I am getting a crash in ircsprintf.c at line 289 ( if ((*str = *p1)) )
when I use the follwing
remove_user_from_channel(sptr, chptr);

sprt is coming from the HOOKTYPE_UMODE_CHANGE
chptr is set via lp->chptr

I can sendnotice to sptr chptr->name ( sendnotice(sptr, "Channel: %s", chptr->chname); )

Please tell me what I am doing wrong for remove_user_from_channel.

Thanks,
Cards

Re: Help with Crash issue

Posted: Sat Jul 14, 2012 7:23 pm
by cards
Nevermind. As Syzop warned me. It was a read-after-free issue