Skip to content

Commit cdffef8

Browse files
committed
Fix accidental change in ControlChecks.qll
1 parent 436be5c commit cdffef8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

actions/ql/lib/codeql/actions/security/ControlChecks.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ class EnvironmentCheck extends ControlCheck instanceof Environment {
292292
// Environment checks are not effective against any mutable attacks
293293
// they do actually protect against untrusted code execution (sha)
294294
override predicate protectsCategoryAndEvent(string category, string event) {
295-
event = actor_is_attacker_event() and category = toctou_category()
295+
event = actor_is_attacker_event() and category = any_category()
296296
or
297297
event = actor_not_attacker_event() and category = non_toctou_category()
298298
}

0 commit comments

Comments
 (0)