Details
-
Bug
-
Resolution: Fixed
-
Major
-
Lustre 2.11.0
-
3
-
9223372036854775807
Description
Found 1 new static analysis issues in v2_10_58_0-16-g21e3977:
- Resource leak
- lustre/utils/lfs.c: in mirror_split, Resource acquired to 'fd' at line 1690 may be lost here.
TRACEBACK:
- A condition which occurs, leading to the defect
lfs.c:1683: rc==LLAPI_LAYOUT_ITER_CONT is false - An event which alters the program's state, leading to the defect
lfs.c:1690: Resource is acquired: 'fd' in the call to 'open' - A condition which occurs, leading to the defect
lfs.c:1691: fd<0 is false - A condition which occurs, leading to the defect
lfs.c:1721: rc<0 is true - An event which alters the program's state, leading to the defect
lfs.c:1788: Resource is lost: 'fd'
The same happens with all 'goto free_layout;' after lfs.c:1697 line.
The list of commits since the previous build v2_10_57_0-88-g8059dbb:
| 21e3977 | - |
| b8e87b5 | |
| aae9a90 | |
| 45ad1a7 | - |
| 4fabc57 | - |
| db25bdd | - |
| defbc7d | - |
| 7b980e1 | - _layout() in test |
| 4b5206bc | - |
| 96fbf09 | |
| 043f597 | - |
| 873c843 | - |
| 99420a1 | |
| dbc73c2 | |
| 23b2d47 | - |
| 27116ee | - |
| 116c51f | New tag 2.10.58 |
Attachments
Issue Links
- is related to
-
LU-4629 Issues found by static analysis tools
-
- Resolved
-