Commit de0da09
authored
fix(fuzz): handle bare "invalid argument" (#899)
OSS-Fuzz finding #471520156 had an assert caused by the
time.LoadLocation outputting "invalid argument" for a null byte
argument. The fuzz test was already intentionally skipping
"invalid argument for" as a regex, which didn't match this err
string.
Changes:
- Simplify regex to match both "invalid argument for X" and bare form
- Remove redundant "operator in" pattern (covered by wildcard variant)
Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>1 parent 13c5b65 commit de0da09
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
0 commit comments