Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d98b171

Browse files
committed
Java: Make EnvTaintedMethod public + QL-Doc
1 parent e021158 commit d98b171

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

java/ql/src/semmle/code/java/dataflow/FlowSources.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,8 @@ private class SpringWebRequestGetMethod extends Method {
292292
}
293293
}
294294

295-
private class EnvTaintedMethod extends Method {
295+
/** Models methods that are tainted by the environment of the user, such as `System.getProperty` or `System.getenv()`. */
296+
class EnvTaintedMethod extends Method {
296297
EnvTaintedMethod() {
297298
this instanceof MethodSystemGetenv or
298299
this instanceof PropertiesGetPropertyMethod or

0 commit comments

Comments
 (0)