[LU-5870] New static analysis issues in llite Created: 05/Nov/14 Updated: 30/Aug/23 Resolved: 11/Dec/14 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.7.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Dmitry Eremin (Inactive) | Assignee: | WC Triage |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | kw | ||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 16420 | ||||||||||||
| Description |
|
After commit b6e3612d845cf506e977f49aa85ddd1e709fd194 the 'ln.ln_name' and 'ln.ln_namelen' might be used uninitialized in this function. TRACEBACK:
|
| Comments |
| Comment by Andreas Dilger [ 05/Nov/14 ] |
|
This code was added in the " |
| Comment by Henri Doreau (Inactive) [ 05/Nov/14 ] |
|
There's already a patch aiming at cleaning up this code (for other reasons). It is tracked as This said, it looks like a false positive to me. Provided ldata is consistent, the idx/linkno checks should prevent from using ln uninitialized. |
| Comment by Jodi Levi (Inactive) [ 11/Dec/14 ] |
|
Patch landed to Master. |