Common Weakness Enumeration
CWE-1126 Declaration of Variable with Unnecessarily Wide Scope
Description
The source code declares a variable in one scope, but the variable is only used within a narrower scope.
Associated Reviewed Advisories
Vulnerabilities classified under CWE-1126 ordered by modification date.
No Reviewed Advisories Found
There are no reviewed OSV records mapped to this CWE at this time.