mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-22 17:19:30 +01:00
fixed off by one string truncation issue
Former-commit-id: deead918832638cf9c7aadec194dad38f976946b
This commit is contained in:
@@ -384,7 +384,7 @@ public class FalsePositiveAnalyzer extends AbstractAnalyzer {
|
|||||||
if (pos2 < 0) {
|
if (pos2 < 0) {
|
||||||
return value;
|
return value;
|
||||||
} else {
|
} else {
|
||||||
return value.substring(0, pos2 - 1);
|
return value.substring(0, pos2);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user