View Issue Details

IDProjectCategoryView StatusLast Update
0006438unrealircdpublic2024-09-25 13:06
ReporterValware Assigned Tosyzop  
PrioritynormalSeveritycrashReproducibilityN/A
Status resolvedResolutionfixed 
Product Version6.1.7.1 
Fixed in Version6.1.8-rc1 
Summary0006438: crash on rule ||
DescriptionA spamfilter with rule || causes a crash via config_test. Reported by Valware.
TagsNo tags attached.
3rd party modules

Activities

syzop

2024-07-20 08:31

administrator   ~0023280

security-group test123 {
        rule "||";
}

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff3d947f6 in _crule_free (elem=0x50700007e658) at crule.c:1101
1101 if ((*(elem))->flags & CRULE_FLAG_NOT)
(gdb) bt
#0 0x00007ffff3d947f6 in _crule_free (elem=0x50700007e658) at crule.c:1101
#1 0x00007ffff3d949a0 in _crule_free (elem=0x7ffff4f94550) at crule.c:1109
#2 0x00007ffff3d94407 in _crule_test (rule=0x5020002ff790 "||") at crule.c:777
#3 0x000055555579d16d in test_match_item (conf=0x503000158d70, cep=0x5070000336a0, errors=0x7ffff4e1bd20) at securitygroup.c:257
#4 0x000055555579eca7 in _test_security_group (conf=0x503000158d70, ce=0x507000033630) at securitygroup.c:371

syzop

2024-09-08 10:18

administrator   ~0023331

Bump. This bug still exists. It's not the end of the world but forgot about it :D

syzop

2024-09-25 13:06

administrator   ~0023379

Fixed in https://github.com/unrealircd/unrealircd/commit/c86b474ed80d2c4d860f1b2df4167e2a665026b5

Issue History

Date Modified Username Field Change
2024-07-20 08:30 syzop New Issue
2024-07-20 08:30 syzop Reporter syzop => Valware
2024-07-20 08:31 syzop Assigned To => syzop
2024-07-20 08:31 syzop Status new => confirmed
2024-07-20 08:31 syzop Note Added: 0023280
2024-09-08 10:18 syzop Note Added: 0023331
2024-09-25 13:05 syzop View Status private => public
2024-09-25 13:06 syzop Status confirmed => resolved
2024-09-25 13:06 syzop Resolution open => fixed
2024-09-25 13:06 syzop Fixed in Version => 6.1.8-rc1
2024-09-25 13:06 syzop Note Added: 0023379