View Issue Details

IDProjectCategoryView StatusLast Update
0005151unrealircdpublic2018-09-25 11:29
Reportershenlanting Assigned Tosyzop  
PrioritynormalSeveritytweakReproducibilityhave not tried
Status closedResolutionno change required 
Summary0005151: another deference of a null pointer or a redundant check against null?
DescriptionHi all,
There is a deference of a null pointer or a redundant check against null found by Qihoo360 CodeSafe Team.

similar as https://bugs.unrealircd.org/view.php?id=5150

Details as bellow:
In file 'src/modules/chanmodes/censor.c', line 47, the expand of macro 'MARK_AS_OFFICIAL_MODULE' will check whether the argument 'modinfo' is null or not.
The the calling for function 'CmodeAdd()' (line 53) just uses the deference of 'modinfo' (by using 'modinfo->handle') without checking against null.

Should we add a check against null here or is the checking against null above is redundant?
3rd party modules

Activities

syzop

2018-09-25 11:29

administrator   ~0020346

See 0005150, not an issue.

Issue History

Date Modified Username Field Change
2018-09-25 11:00 shenlanting New Issue
2018-09-25 11:29 syzop Assigned To => syzop
2018-09-25 11:29 syzop Status new => closed
2018-09-25 11:29 syzop Resolution open => no change required
2018-09-25 11:29 syzop Note Added: 0020346