You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.
Kevin Reid edited this page Apr 16, 2015
·
1 revision
(legacy labels: Attack-Vector)
Inaccessible Local Variables
Effect
Some variables declared may be inaccessible, and references using those as RHS may see a value even if the variable has never been assigned.
Background
The label arguments in a function is not assignable on most browsers.
The label in a catch block may or may not be accessible outside that block depending on browser, and may mask local variables declared in the enclosing function.
Assumptions
Untrusted code can declare local variables with these names, and static checkers forgo restrictions based on whether a variable has been assigned a value.