Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
Lustre 2.7.0
-
3
-
16418
Description
Pointer 'matched' returned from call to function 'ldlm_handle2lock' at line 2312 may be NULL and will be dereferenced at line 2318. Also there are 2 similar errors on line(s) 2327, 2331.
TRACEBACK:
- osc_request.c:2312: 'matched' is assigned the return value from function 'ldlm_handle2lock'.
- lustre_dlm.h:1254: '_ldlm_handle2lock(h, 0)' is assigned the return value from function '_ldlm_handle2lock'.
- ldlm_lock.c:606: '__ldlm_handle2lock' explicitly returns a NULL value.
- lustre_dlm.h:1254: '__ldlm_handle2lock(h, 0)' is returned by 'ldlm_handle2lock'.
- lustre_dlm.h:1254: '_ldlm_handle2lock(h, 0)' is assigned the return value from function '_ldlm_handle2lock'.
- osc_request.c:2318: 'matched' is dereferenced by passing argument 1 to function 'ldlm_lock_put'.
- ldlm_lock.c:201: 'lock' is passed to function 'ldlm_lock_put'.
- ldlm_lock.c:205: 'lock' is explicitly dereferenced.
Attachments
Issue Links
- is related to
-
LU-4629 Issues found by static analysis tools
-
- Resolved
-
Activity
Fix Version/s | Original: Lustre 2.10.0 [ 12204 ] | |
Resolution | New: Won't Fix [ 2 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Fix Version/s | New: Lustre 2.10.0 [ 12204 ] | |
Fix Version/s | Original: Lustre 2.9.0 [ 11891 ] |
Fix Version/s | New: Lustre 2.9.0 [ 11891 ] | |
Fix Version/s | Original: Lustre 2.8.0 [ 11113 ] |
Fix Version/s | New: Lustre 2.8.0 [ 11113 ] | |
Fix Version/s | Original: Lustre 2.7.0 [ 10631 ] |
Priority | Original: Minor [ 4 ] | New: Major [ 3 ] |
As per discussion on the triage call this hypothetical issue is not an actual bug