Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.10.0
-
3
-
9223372036854775807
Description
Found 11 new static analysis issues in v2_9_52_0-66-gec839d4:
- Null pointer may be passed to function that may dereference it
- lnet/utils/lnetconfig/liblnetconfig.c: in lustre_lnet_show_numa_range, Null pointer 'global' that comes from line 2701 may be passed to function and can be dereferenced there by passing argument 2 to function 'add_to_global' at line 2738.
- Result of function that may return NULL will be dereferenced
- lnet/lnet/lib-move.c: in lnet_select_pathway, Pointer 'peer_net' returned from call to function 'lnet_peer_get_net_locked' at line 1583 may be NULL and will be dereferenced at line 1585.
- Pointer may be passed to function that can dereference it after it was positively checked for NULL
- lnet/utils/lnetconfig/liblnetconfig.c: in lustre_lnet_show_discovery, Pointer 'global' checked for NULL at line 2777 may be passed to function and may be dereferenced there by passing argument 2 to function 'add_to_global' at line 2792.
- Suspicious dereference of pointer in function call before NULL check
- lnet/lnet/peer.c: in lnet_discover_peer_locked, Suspicious dereference of pointer 'lp' by passing argument 1 to function 'lnet_peer_clear_discovery_error' at line 1924 before NULL check at line 1965
- Result of function that can return NULL may be dereferenced
- lnet/utils/lnetconfig/liblnetconfig.c: in lustre_lnet_ping_nid, Pointer 'token' returned from call to function 'strtok' at line 465 may be NULL and may be dereferenced at line 486. Also there is one similar error on line 493.
- Result of function that can return NULL may be dereferenced
- lnet/utils/lnetconfig/liblnetconfig.c: in lustre_lnet_ping_nid, Pointer 'ping' returned from call to function 'calloc' at line 450 may be NULL and may be dereferenced at line 528.
- Null pointer may be passed to function that may dereference it
- lnet/utils/lnetconfig/liblnetconfig.c: in lustre_lnet_show_discovery, Null pointer 'global' that comes from line 2755 may be passed to function and can be dereferenced there by passing argument 2 to function 'add_to_global' at line 2792.
- Null pointer may be passed to function that may dereference it
- lnet/utils/lnetconfig/liblnetconfig.c: in lustre_lnet_show_max_intf, Null pointer 'global' that comes from line 2647 may be passed to function and can be dereferenced there by passing argument 2 to function 'add_to_global' at line 2684.
- Pointer may be passed to function that can dereference it after it was positively checked for NULL
- lnet/utils/lnetconfig/liblnetconfig.c: in lustre_lnet_show_max_intf, Pointer 'global' checked for NULL at line 2669 may be passed to function and may be dereferenced there by passing argument 2 to function 'add_to_global' at line 2684.
- Null pointer may be passed to function that may dereference it
- lnet/lnet/peer.c: in lnet_peer_set_primary_data, Null pointer 'lp->lp_data' that comes from line 2349 may be passed to function and can be dereferenced there by passing argument 1 to function 'lnet_ping_buffer_decref' at line 2353.
- Pointer may be passed to function that can dereference it after it was positively checked for NULL
- lnet/utils/lnetconfig/liblnetconfig.c: in lustre_lnet_show_numa_range, Pointer 'global' checked for NULL at line 2723 may be passed to function and may be dereferenced there by passing argument 2 to function 'add_to_global' at line 2738.
The list of commits since the previous build v2_9_52_0-35-g2c789d9:
| ec839d4 | |
| 1dd4352 | |
| e5ecfde | |
| 957dc16 | |
| 1573f73 | |
| 9a425b8 | |
| 9c92b12 | |
| 7353a8f | |
| a92a89e | |
| 3d74bda | |
| d1f76f3 | |
| dfc9e7c | |
| d382b0a | |
| af21bbe | |
| 20cde84 | |
| ba6b133 | |
| 70d331f | |
| 1933470 | |
| 1c8776f | |
| 0bae7f1 | |
| c723dcd | |
| d1dabda | |
| 70112f9 | |
| cd2d11b | |
| f70c1b6 | |
| 7f21043 | |
| 838a77b | |
| 9a1bb73 | |
| 96b352f | |
| bf1e5e2 | |
| 745b5a0 |