Help with Crash issue

These are old archives. They are kept for historic purposes only.
Post Reply
cards
Posts: 85
Joined: Sat Jun 12, 2004 5:04 am

Help with Crash issue

Post 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
NetAdmin
irc.420-HighTimes.com
cards
Posts: 85
Joined: Sat Jun 12, 2004 5:04 am

Re: Help with Crash issue

Post by cards »

Nevermind. As Syzop warned me. It was a read-after-free issue
NetAdmin
irc.420-HighTimes.com
Post Reply