View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001991 | unreal | ircd | public | 2004-07-24 18:58 | 2004-07-24 19:50 |
| Reporter | distanced | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | open | ||
| Product Version | 3.2.1 | ||||
| Summary | 0001991: sending (invalid?) server commands crashes ircd | ||||
| Description | sending separate nick/user commands as a server crashes the ircd. | ||||
| Steps To Reproduce | {105} telnet hub 7000 Trying 192.168.0.1... Connected to hub. Escape character is '^]'. :hub.nu NOTICE AUTH :*** Looking up your hostname... :hub.nu NOTICE AUTH :*** Checking ident... :hub.nu NOTICE AUTH :*** Found your hostname :hub.nu NOTICE AUTH :*** Received identd response PASS wopwop SERVER poe.nu 1 :10 PROTOCTL NOQUIT TOKEN NICKv2 SJOIN SJOIN2 UMODE2 VL SJ3 NS SJB64 TKLEXT NICKIP CHANMODES=beqa,kfL,l,psmntirRcOAQKVGCuzNSMT PASS :wopwop SERVER hub.nu 1 :U2304-FhiXeOoZE-23 FreeBSD power. :hub.nu SMO o :(link) Link hub.nu -> poe.nu[[email protected]] established NETINFO 0 1090708701 2304 MD5:9586f3ee2a10a2923dcd2e04e441d855 0 0 0 :hub.nu :hub.nu EOS NICK sicko 1 :sicko USER sicko my.host.name poe.nu loser Connection closed by foreign host. | ||||
| Additional Information | Segfaults, backtrace from dumped core: (gdb) bt #0 0x8084212 in register_user (cptr=0x8170c00, sptr=0x817dd00, nick=0x817dd29 "sicko", username=0x8170cf0 "sicko", umode=0x0, virthost=0x0, ip=0x0) at s_user.c:1073 #1 0x808603a in m_user (cptr=0x8170c00, sptr=0x817dd00, parc=5, parv=0x811bf00) at s_user.c:2043 #2 0x8065b5f in parse (cptr=0x8170c00, buffer=0x8170ce4 ":sicko USER", bufend=0x8170d10 "") at parse.c:440 #3 0x80648b0 in dopacket (cptr=0x8170c00, buffer=0x811c8a0 ":sicko USER sicko my.host.name poe.nil loser\r\n", length=46) at packet.c:138 #4 0x806ad1b in read_packet (cptr=0x8170c00, rfd=0xbfbff620) at s_bsd.c:1447 #5 0x806b65a in read_message (delay=2, listp=0x814dae0) at s_bsd.c:1937 #6 0x8061663 in main (argc=1, argv=0xbfbff75c) at ircd.c:1548 | ||||
| 3rd party modules | |||||
|
|
Server connections are assumed to be trusted. Therefore, very little parameter checking is done. Don't send illegal commands and you want have problems. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2004-07-24 18:58 | distanced | New Issue | |
| 2004-07-24 19:50 |
|
Status | new => closed |
| 2004-07-24 19:50 |
|
Note Added: 0007246 |