Skip to content

Commit 2e2ef6c

Browse files
Jami CogswellJami Cogswell
authored andcommitted
Java: private annotation
1 parent 062903e commit 2e2ef6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/security/PathSanitizer.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ private class FileGetNameSanitizer extends PathInjectionSanitizer {
358358
* if it is checked for `..` components (`PathTraversalGuard`) or if any internal
359359
* `..` components are removed from it (`PathNormalizeSanitizer`).
360360
*/
361-
class FileConstructorSanitizer extends PathInjectionSanitizer {
361+
private class FileConstructorSanitizer extends PathInjectionSanitizer {
362362
FileConstructorSanitizer() {
363363
exists(ConstructorCall constrCall, Argument arg, Expr guard |
364364
constrCall.getConstructedType() instanceof TypeFile and

0 commit comments

Comments
 (0)