Skip to content

Commit 347f466

Browse files
committed
FIXUP (query IDs commit)
1 parent 6a73830 commit 347f466

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/ql/test/query-tests/Security/CWE-200/bufferRead.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ fs.exists(fileName, function (exists) {
2929
res.setEncoding('utf8');
3030
});
3131

32-
req.end();
3332
req.write(postData); // $ Alert[js/file-access-to-http] - write data from file to request body
33+
req.end();
3434
});
3535

3636
fs.close(fd);
3737
});
3838
});
3939
}
40-
});
40+
});

0 commit comments

Comments
 (0)