CWE DATABASE
About
GET A DEMO
Backslash Vulnerability Database
Declaration of Variable with Unnecessarily Wide Scope
Declaration of Variable with Unnecessarily Wide Scope
CWE-1126
Short description
The source code declares a variable in one scope, but the variable is only used within a narrower scope.
Extended description