param_val * 10 + digit wraps on u32param_val * 10 + digit wraps on u32File: src/input.zig:248
Severity: LOW
Status: ✅ FIXED — * → *| and + → +| for saturating arithmetic.
self.param_val = self.param_val * 10 + (byte - '0');
param_val is u32. Malicious input with thousands of consecutive digits causes wrapping overflow (modular arithmetic). The parameter value wraps silently, producing incorrect behaviour.
| Severity | Count | Fixed | False Positive | Unresolved |
|---|---|---|---|---|
| Critical | 14 (10+4) | 13 | 3 | 0 |
| High | 29 (18+11) | 28 | 1 | 0 |
| Medium | 18 (5+13) | 17 | 1 | 0 |
| Low | 26 (19+7) | 25 | 1 | 0 |
| Total | 99 (64+35) | 81 | 6 | 0 |