Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
None
-
3
-
9223372036854775807
Description
Found 1 new static analysis issues in v2_10_59_0-0-g108333a:
- Null pointer may be passed to function that may dereference it
- lustre/utils/lfs.c: in lfs_quota, Null pointer 'name' that comes from line 6018 may be passed to function and can be dereferenced there by passing argument 2 to function 'get_print_quota' at line 6156.
TRACEBACK:
An event which alters the program's state, leading to the defect
lfs.c:6018: 'name' has been assigned a NULL value.
A condition which occurs, leading to the defect
lfs.c:6028: Entering loop, because (c=getopt(argc, argv, "gi:I:o:pqtuvh" ) ) != -1 is true
An event which alters the program's state, leading to the defect
lfs.c:6032: Goto statement causes loop exit.
An event which alters the program's state, leading to the defect
lfs.c:6035: Goto statement causes loop exit.
A condition which occurs, leading to the defect
lfs.c:6117: qctl.qc_cmd==8388615 is false
An event which alters the program's state, leading to the defect
lfs.c:6156: 'name' is dereferenced by passing argument 2 to function 'get_print_quota'.
An event which alters the program's state, leading to the defect
lfs.c:5794: 'name' is passed to function 'get_print_quota'.
An event which alters the program's state, leading to the defect
lfs.c:5823: 'name' is dereferenced by passing argument 1 to function 'print_quota_title'.
An event which alters the program's state, leading to the defect
lfs.c:5615: 'name' is passed to function 'print_quota_title'.
An event which alters the program's state, leading to the defect
lfs.c:5619: 'name' is dereferenced by formatted printing function 'printf'.
The list of commits since the previous build v2_10_58_0-135-g9ba637b:
Attachments
Issue Links
- is related to
-
LU-4629 Issues found by static analysis tools
- Resolved