Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
None
-
3
-
9223372036854775807
Description
Found 2 new static analysis issues in v2_11_50_0-51-g8d37637:
- Pointer will be dereferenced after it was positively checked for NULL
- lustre/mdc/mdc_dev.c: in mdc_enqueue_send, Pointer 'matched' checked for NULL at line 705 will be dereferenced at line 720.
- Result of function that may return NULL will be dereferenced
- lustre/mdc/mdc_dev.c: in mdc_enqueue_send, Pointer 'matched' returned from call to function 'ldlm_handle2lock' at line 704 may be NULL and will be dereferenced at line 720.
TRACEBACK:
- An event which alters the program's state, leading to the defect mdc_dev.c:705: 'matched' is checked for NULL.
- A condition which occurs, leading to the defect mdc_dev.c:705: !matched|| ( ( ( (matched) ) ->l_flags& (1<<42) ) !=0) is true
- An event which alters the program's state, leading to the defect mdc_dev.c:720: 'matched' is dereferenced by passing argument 1 to function 'ldlm_lock_put'.
- An event which alters the program's state, leading to the defect ldlm_lock.c:189: 'lock' is passed to function 'ldlm_lock_put'.
- An event which alters the program's state, leading to the defect ldlm_lock.c:193: 'lock' is explicitly dereferenced.
The list of commits since the previous build v2_11_0_0_RC3-0-gb2e8b97:
| 8d37637 | |
| 00c89bf | |
| 0506e1b | |
| c2b788e | |
| 9ade609 | |
| faec4b0 | |
| 040eca6 | |
| 2302663 | |
| 2cdc1ad | LU-10566 test: fix nfs exports clean up |
| d57fcaf | |
| 55ed739 | |
| a033bd8 | |
| dd07052 | |
| f3824b9 | |
| 320e736 | |
| a999892 | |
| 7a9a2e4 | |
| 4753bae | |
| ae1be8a | xattr() |
| 682939f | |
| 7e3fc10 | |
| c0246d8 | |
| 5f00d6f | |
| 37f6357 | |
| 031001f | |
| 4a81be2 | |
| 0fa1cc6 | |
| b9a3205 | |
| 33aad78 | |
| 9ee81f9 | |
| da69045 | |
| 8f8e99e | |
| 96f5cc0 | |
| 101ee49 | |
| e0cdde1 | |
| 2cdcaa0 | |
| 7a216e3 | |
| 61f9847 | |
| 292aa42 | |
| 07fdba2 | |
| 6488c0e | |
| e3bc6e6 | |
| b892064 | |
| 7ec8e47 | |
| 6189ae0 | |
| 8922807 | |
| 01fb4ed | |
| 196855e | |
| f767214 | |
| 5b64d9f | |
| 543f1fb | |
| 6987c10 | New tag 2.11.50 |
| 1779751 | New release 2.11 |
Attachments
Issue Links
- is related to
-
LU-4629 Issues found by static analysis tools
-
- Resolved
-