Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Lustre 2.11.0
-
3
-
9223372036854775807
Description
Found 4 new static analysis issues in v2_10_58_0-35-gb11cf51:
- Use of Unvalidated Integer in Memory Allocation
- lustre/utils/gss/lgss_sk.c: in main, Unvalidated integer value 'config->skc_shared_keylen' is received from 'atoi' at line 394 and can be used to alter memory allocation size through call to 'get_key_data' at line 573.
- Result of function that may return NULL will be dereferenced
- lustre/utils/gss/lgss_null_utils.c: in lgss_null_validate_cred, Pointer 'ctx_token->value' returned from call to function 'malloc' at line 68 may be NULL and will be dereferenced at line 69.
- Result of function that can return NULL may be dereferenced
- lustre/utils/mount_lustre.c: in parse_options, Pointer 'options' returned from call to function 'calloc' at line 269 may be NULL and may be dereferenced at line 296. Also there are 3 similar errors on lines 301, 321, 343.
- Use of Unvalidated Integer in Memory Allocation
- lustre/utils/gss/lgss_keyring.c: in main, Unvalidated integer value 'param.send_token_size' is received from 'receive_from' at line 1183 and can be used to alter memory allocation size through call to 'calloc' at line 1188. Also there is one similar error on line 1193.
The list of commits since the previous build v2_10_58_0-16-g21e3977:
b11cf51 | |
d744923 | |
4dd55cb | |
3a76ece | |
71ed60c | |
8cb2398 | |
a13e325 | |
2a2adfd | |
f3e3fd1 | |
8811869 | |
ccb6fe4 | |
b45f836 | |
c722371 | |
94470f7 | |
75364df | |
6b37393 | |
9e338ee | |
795ca68 | |
fa15e53 |
Attachments
Issue Links
- is related to
-
LU-4629 Issues found by static analysis tools
- Resolved