mirror of
https://github.com/github/codeql.git
synced 2026-05-03 04:39:29 +02:00
Refactor tests to use InlineFlowTest
This commit is contained in:
@@ -15,7 +15,7 @@ public class XMLDecoderTests {
|
||||
public void bad3(HttpServletRequest request) throws Exception {
|
||||
ServletInputStream servletInputStream = request.getInputStream();
|
||||
XMLDecoder xmlDecoder = new XMLDecoder(servletInputStream);
|
||||
xmlDecoder.readObject(); // bad
|
||||
xmlDecoder.readObject(); // $ hasTaintFlow
|
||||
}
|
||||
|
||||
@PostMapping(value = "good")
|
||||
|
||||
Reference in New Issue
Block a user