m_forcenick.c

Anthony Martinez pi at pihost.us
Tue Jul 27 01:19:44 EDT 2004


>From the abusive-operator department:
m_forcenick.c seems to cause a crash on ircd-hybrid7.0.3, but not in 7.0.1...
I did recompile the module, but handle_command looks a lot like it gets a null
pointer. Is there any significant change that needs to be done to m_forcenick.c
in order to get it to work?

#0  0x00000000 in ?? ()
#1  0x0806128a in handle_command (mptr=0x4044ad80, client_p=0x402045bc, from=0x402045bc, i=3, hpara=0x824ffe0) at parse.c:394
#2  0x080610e7 in parse (client_p=0x402045bc, pbuffer=0x824bfc0 "FORCENICK", bufend=0x824bfdc "") at parse.c:300
#3  0x08060852 in parse_client_queued (client_p=0x402045bc) at packet.c:174
#4  0x08060c6e in read_packet (fd=65, data=0x402045bc) at packet.c:442
#5  0x08063ecb in comm_select (delay=0) at s_bsd_poll.c:247
#6  0x0805cd29 in io_loop () at ircd.c:350
#7  0x0805d615 in main (argc=0, argv=0xbffffae8) at ircd.c:780
#8  0x42017589 in __libc_start_main () from /lib/i686/libc.so.6

Partial full backtrace
#0  0x00000000 in ?? ()
No symbol table info available.
#1  0x0806128a in handle_command (mptr=0x4044ad80, client_p=0x402045bc,
from=0x402045bc, i=3, hpara=0x824ffe0) at parse.c:394
        mptr = (struct Message *) 0x4044ad80
        client_p = (struct Client *) 0x402045bc
        hpara = (char **) 0x824ffe0
        handler = 0
#2  0x080610e7 in parse (client_p=0x402045bc, pbuffer=0x824bfc0 "FORCENICK",
bufend=0x824bfdc "") at parse.c:300
        client_p = (struct Client *) 0x402045bc
        pbuffer = 0x824bfc0 "FORCENICK"
        bufend = 0x3 <Address 0x3 out of bounds>
        from = (struct Client *) 0x402045bc
        ch = 0x824bf53 ""
        s = 0x3 <Address 0x3 out of bounds>
        end = 0x824bfdb "T"
        i = 3
        numeric = 0x0
        mptr = (struct Message *) 0x4044ad80



-- 
printk(KERN_WARNING "%s: Short circuit detected on the lobe\n",
dev->name);
	2.4.0-test2 /usr/src/linux/drivers/net/tokenring/lanstreamer.c



More information about the hybrid mailing list