Main Content
Resource Management Defects
Defects related to resource handling such as unclosed file stream or use of a closed file stream
These defects are related to file handling. The defects include:
Unclosed file stream
Operations on a file stream after it is closed
Polyspace Results
Closing a previously closed resource | Function closes a previously closed stream |
Opening previously opened resource | Opening an already opened file |
Resource leak | File stream not closed before FILE pointer
scope ends or pointer is reassigned |
Use of previously closed resource | Function operates on a previously closed stream |
Writing to read-only resource | File initially opened as read only is modified |
Topics
- Bug Finder Defect Groups
The Bug Finder defect checkers are classified into groups such as data flow, concurrency, numerical, and so on.