Skip to content

Commit 2c67084

Browse files
author
Johannes Spaeth
committed
Making error message more explicit
1 parent eb5ad16 commit 2c67084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/de/codeshield/log4jshell/Log4JDetector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public boolean run(String pathToJarFile) throws IOException {
113113
// Check if a class file matches one of the pre-computed vulnerable SHAs.
114114
if (ClassDetector.isVulnerableClass(is)) {
115115
isVulnerable = true;
116-
System.err.println("CVE-2021-44228 found declared as dependency in " + classFile);
116+
System.err.println("CVE-2021-44228 found in class file " + classFile);
117117
}
118118
}
119119
}

0 commit comments

Comments
 (0)