Skip to content

Commit 6824aaa

Browse files
author
Vladimir Kotal
authored
suppress warning about lack of sanitization (#3789)
1 parent aaf7676 commit 6824aaa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/framework/PluginFramework.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,8 @@ private String getClassName(File file) {
319319
return classname;
320320
}
321321

322+
// The filePath is checked not to point outside the "target" directory in the code below.
323+
@SuppressWarnings("javasecurity:S6096")
322324
@Nullable
323325
private String getClassName(JarEntry jarEntry) {
324326
final String filePath = jarEntry.getName();

0 commit comments

Comments
 (0)