We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 789e759 commit 99bc264Copy full SHA for 99bc264
src/main/java/com/code_intelligence/jazzer/runtime/CountersTracker.java
@@ -261,7 +261,11 @@ private static int initMaxCounters() {
261
return DEFAULT_MAX_COUNTERS;
262
}
263
try {
264
- return Integer.parseInt(value.trim());
+ int parsed = Integer.parseInt(value.trim());
265
+ if (parsed <= 0) {
266
+ return DEFAULT_MAX_COUNTERS;
267
+ }
268
+ return parsed;
269
} catch (NumberFormatException e) {
270
271
0 commit comments