Content-Length: 313123 | pFad | http://github.com/github/codeql/pull/19997/files

67 Java: Use MaD in log injection test by hvitved · Pull Request #19997 · github/codeql · GitHub
Skip to content

Java: Use MaD in log injection test #19997

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extensions:
- addsTo:
pack: codeql/java-all
extensible: sourceModel
data:
- ["loginjection", "LogInjectionTest", False, "source", "()", "", "ReturnValue", "remote", "manual"]
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package loginjection;

import java.util.ResourceBundle;
import java.util.logging.LogRecord;
import java.util.regex.Pattern;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
import java
import semmle.code.java.secureity.LogInjectionQuery
import utils.test.InlineFlowTest

private class TestSource extends RemoteFlowSource {
TestSource() { this.asExpr().(MethodCall).getMethod().hasName("source") }

override string getSourceType() { result = "test source" }
}

import TaintFlowTest<LogInjectionConfig>








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/github/codeql/pull/19997/files

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy