Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
3
-
15333
Description
Found 2 new static analysis issues in 2.6.50-112-g01def2b:
- Result of function that can return NULL may be dereferenced
- lnet/lnet/api-ni.c: in LNetNIInit, Pointer 'nets' returned from call to function 'lnet_get_networks' at line 1779 may be NULL and may be dereferenced at line 1785.
TRACEBACK
api-ni.c:1779: 'nets' is assigned the return value from function 'lnet_get_networks'.
api-ni.c:85: 'lnet_get_networks' explicitly returns a NULL value.
api-ni.c:1785: 'nets' is dereferenced by passing argument 2 to function 'lnet_parse_networks'.
config.c:197: 'networks' is passed to function 'lnet_parse_networks'.
config.c:200: 'networks' is dereferenced by passing argument 1 to function 'strlen'.
- lnet/lnet/api-ni.c: in LNetNIInit, Pointer 'nets' returned from call to function 'lnet_get_networks' at line 1779 may be NULL and may be dereferenced at line 1785.
- Joining with binary operator does not respect strong typing
- lnet/lnet/api-ni.c: in lnet_ping_info_install_locked, A strongly typed value of type '__u32' is compared with a value of a different type 'int'
The list of commits since the previous build 2.6.50-106-g9593c98:
01def2b | |
92c5184 | |
18ad797 | |
c079e8c | |
d018343 | |
94d923d |