View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001216 | unreal | ircd | public | 2003-08-28 15:56 | 2003-12-29 20:21 |
| Reporter | fox | Assigned To | luke | ||
| Priority | normal | Severity | crash | Reproducibility | sometimes |
| Status | closed | Resolution | open | ||
| Summary | 0001216: [Stable] INCLUDE in conf / crash | ||||
| Description | not defininf "INCLUDE" in unrealircd.conf causes segmentation fault A user in #support channel reported a segmentation fault. backtracing in gdb shows: ----------------- (gdb) bt #0 0xffffe002 in ?? () #1 0x08060b67 in s_segv () at ircd.c:322 #2 <signal handler called> #3 0x080581ff in load_conf2 (conf=0x8094eca, filename=0x0, type=134859272) at dynconf.c:249 #4 0x0805803d in load_conf (filename=0x8094eca "networks/unrealircd.conf", type=0) at dynconf.c:154 #5 0x080616be in main (argc=0, argv=0xbfffef54) at ircd.c:1014 #6 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6 (gdb) ---------- frame #3 says that filename=0x0 (points to null). Line 249 from dynconf.c: ------ AllocCpy(INCLUDE, setto); load_conf(setto, type); ------ ircd doesn't check for null-pointer here... | ||||
| Steps To Reproduce | comment out "Include" in unrealircd.conf | ||||
| Additional Information | thanks to willtmo on irc for reporting | ||||
| 3rd party modules | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2003-08-28 15:56 | fox | New Issue | |
| 2003-08-29 01:28 | syzop | Assigned To | => luke |
| 2003-08-29 01:28 | syzop | Status | new => assigned |
| 2003-08-29 01:28 | syzop | ETA | none => > 1 month |
| 2003-08-29 01:28 | syzop | Summary | not defininf "INCLUDE" in unrealircd.conf causes segmentation fault => [Stable] INCLUDE in conf / crash |
| 2003-08-29 01:28 | syzop | Description Updated | |
| 2003-12-29 20:21 | syzop | Status | assigned => closed |