mirror of
https://github.com/github/codeql.git
synced 2026-05-03 12:45:27 +02:00
remove postmessage events as source for js/resource-exhaustion
This commit is contained in:
@@ -98,4 +98,8 @@ function browser() {
|
||||
setTimeout(() => {
|
||||
console.log("f00");
|
||||
}, delay); // OK - source is client side
|
||||
|
||||
window.onmessage = (e) => {
|
||||
setTimeout(() => {}, e.data); // OK - source is client side
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user