View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002639 | unreal | ircd | public | 2005-09-13 19:11 | 2005-09-13 19:16 |
Reporter | Monk | Assigned To | syzop | ||
Priority | normal | Severity | crash | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Platform | i386 | OS | Debian Sarge | OS Version | 3.1 |
Product Version | 3.2.3 | ||||
Fixed in Version | 3.2.4 | ||||
Summary | 0002639: badwords.channel.conf crash | ||||
Description | We played a little with the badwords.channel.conf and added following line: badword channel { word ed2k://\|file.*; replace "ed2k link filtered"; action block; }; after rehashing the ircd crashed with the following core dump: Loaded symbols for tmp/7BBF990.cloak.so #0 _test_badword (conf=0x817e480, ce=0x81807c0) at s_conf.c:5377 5377 config_error("%s:%i: badword::action is block but badword::replace exists", (gdb) bt full #0 _test_badword (conf=0x817e480, ce=0x81807c0) at s_conf.c:5377 errbuf = 0x8180901 "lock" errors = 0 cep = (ConfigEntry *) 0x0 has_word = 1 '\001' has_replace = 1 '\001' has_action = 1 '\001' action = 98 'b' #1 0x0807030a in config_test () at s_conf.c:2281 ce = (ConfigEntry *) 0x81807c0 cfptr = (ConfigFile *) 0x817e480 cc = (ConfigCommand *) 0x8180901 errors = 0 h = (Hook *) 0x0 #2 0x0806ea7c in init_conf (rootconf=0x8180901 "lock", rehash=0) at s_conf.c:1605 No locals. #3 0x0805f8ca in main (argc=0, argv=0xbffffd64) at ircd.c:1259 uid = 0 euid = 0 delay = 135605360 corelim = {rlim_cur = 4294967295, rlim_max = 4294967295} nextfdlistcheck = 0 (gdb) Ok, granted, may not be the most clever idea to combine a replace string with action block but hey... ;) Best regards, Monk | ||||
Tags | No tags attached. | ||||
3rd party modules | |||||