CWE-911
Overview
- CWE ID
- 911
- CWE Name
- Improper Update of Reference Count
- CWE Abstraction
- Base
- CWE structure
- Simple
- CWE Status
- Incomplete
Description
The software uses a reference count to manage a resource, but it does not update or incorrectly updates the reference count.
Extended Description
Reference counts can be used when tracking how many objects contain a reference to a particular resource, such as in memory management or garbage collection. When the reference count reaches zero, the resource can be de-allocated or reused because there a