We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 062903e commit 2e2ef6cCopy full SHA for 2e2ef6c
java/ql/lib/semmle/code/java/security/PathSanitizer.qll
@@ -358,7 +358,7 @@ private class FileGetNameSanitizer extends PathInjectionSanitizer {
358
* if it is checked for `..` components (`PathTraversalGuard`) or if any internal
359
* `..` components are removed from it (`PathNormalizeSanitizer`).
360
*/
361
-class FileConstructorSanitizer extends PathInjectionSanitizer {
+private class FileConstructorSanitizer extends PathInjectionSanitizer {
362
FileConstructorSanitizer() {
363
exists(ConstructorCall constrCall, Argument arg, Expr guard |
364
constrCall.getConstructedType() instanceof TypeFile and
0 commit comments