mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Update javascript/ql/test/query-tests/Security/CWE-730/server-crash.js
Co-authored-by: Napalys Klicius <napalys@github.com>
This commit is contained in:
@@ -73,7 +73,7 @@ app.get("/async-throw", (req, res) => {
|
||||
});
|
||||
|
||||
fs.readFile("/foo", (err, x) => {
|
||||
req.query.foo.bar; // NOT OK [INCONSISTENCY]: need to add property reads as sinks
|
||||
req.query.foo.bar; // $ MISSING: Alert - need to add property reads as sinks
|
||||
});
|
||||
fs.readFile("/foo", (err, x) => {
|
||||
res.setHeader("reflected", unknown);
|
||||
|
||||
Reference in New Issue
Block a user