mirror of
https://github.com/github/codeql.git
synced 2026-05-02 04:05:14 +02:00
Java: update Netty test case
This commit is contained in:
@@ -6106,20 +6106,6 @@ public class Test {
|
||||
out = in.getUri();
|
||||
sink(out); // $ hasTaintFlow
|
||||
}
|
||||
{
|
||||
// "io.netty.handler.codec.http;HttpRequest;true;setUri;;;Argument[0];Argument[-1];taint;manual"
|
||||
FullHttpRequest out = null;
|
||||
String in = (String)source();
|
||||
out.setUri(in);
|
||||
sink(out); // $ hasTaintFlow
|
||||
}
|
||||
{
|
||||
// "io.netty.handler.codec.http;HttpRequest;true;setUri;;;Argument[0];Argument[-1];taint;manual"
|
||||
HttpRequest out = null;
|
||||
String in = (String)source();
|
||||
out.setUri(in);
|
||||
sink(out); // $ hasTaintFlow
|
||||
}
|
||||
{
|
||||
// "io.netty.handler.codec.http;HttpRequest;true;uri;;;Argument[-1];ReturnValue;taint;manual"
|
||||
String out = null;
|
||||
@@ -7892,4 +7878,4 @@ public class Test {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user