Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
3
-
9223372036854775807
Description
Suspicious dereference of pointer 'name' by passing argument 1 to function 'strlen' at line 841 before NULL check at line 845
- An event which alters the program's state, leading to the defect
osp_object.c:841: 'name' is dereferenced by being passed as argument 1 to function 'strlen'. - An event which alters the program's state, leading to the defect
osp_object.c:845: 'name' is checked for NULL.
841 __u16 namelen = strlen(name);
842 int rc = 0;
843
844 LASSERT(buf != NULL);
845 LASSERT(name != NULL);