View Issue Details

IDProjectCategoryView StatusLast Update
0001117unrealdocumentationpublic2003-11-20 19:43
ReporterAngryWolf Assigned Tocodemastr 
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Product Version3.2-beta17 
Summary0001117: Segfault on /samode #channel +a nick
Description#0 0x08056d59 in trim_str (str=0x0, len=63) at channel.c:2410
2410 if ((l = strlen(str)) > len)
(gdb) bt
#0 0x08056d59 in trim_str (str=0x0, len=63) at channel.c:2410
#1 0x08056e1e in clean_ban_mask (mask=0x81ac77d "+a") at channel.c:2436
#2 0x08056277 in do_mode_char (chptr=0x8187f88, modetype=512, modechar=101, param=0x81ac77d "+a",
    what=1073741824, cptr=0x81ac680, pcount=0xbffff0a4, pvar=0xbffff0a8, bounce=0 '\0') at channel.c:1991
#3 0x08056b51 in set_mode (chptr=0x8187f88, cptr=0x81ac680, parc=2, parv=0x8115f48, pcount=0xbffff0a4,
    pvar=0xbffff0a8, bounce=0) at channel.c:2341
#4 0x08054f70 in do_mode (chptr=0x8187f88, cptr=0x81ac680, sptr=0x81ac680, parc=2, parv=0x8115f48,
    sendts=0, samode=1) at channel.c:1354
#5 0x0805459c in m_samode (cptr=0x81ac680, sptr=0x81ac680, parc=4, parv=0x8115f40) at channel.c:1074
#6 0x08067fcb in parse (cptr=0x81ac680, buffer=0x81ac764 "samode", bufend=0x81ac77f "") at parse.c:471
#7 0x08066b33 in dopacket (cptr=0x81ac680, buffer=0x81168e0 "samode #discoware TrAnCe +a\n", length=28)
    at packet.c:137
0000008 0x0806d149 in read_packet (cptr=0x81ac680, rfd=0xbffffbfc) at s_bsd.c:1476
#9 0x0806d93f in read_message (delay=2, listp=0x81460a0) at s_bsd.c:1935
#10 0x080643b1 in main (argc=1, argv=0xbffffd44) at ircd.c:1356
(gdb) f 0
#0 0x08056d59 in trim_str (str=0x0, len=63) at channel.c:2410
2410 if ((l = strlen(str)) > len)
(gdb) p str
$1 = 0x0

Any ideas? :)
3rd party modules

Activities

codemastr

2003-07-15 18:32

reporter   ~0003239

Fixed in .1857

Issue History

Date Modified Username Field Change
2003-07-15 17:38 AngryWolf New Issue
2003-07-15 18:32 codemastr Status new => resolved
2003-07-15 18:32 codemastr Resolution open => fixed
2003-07-15 18:32 codemastr Assigned To => codemastr
2003-07-15 18:32 codemastr Note Added: 0003239
2003-11-20 19:43 syzop Status resolved => closed