mirror of https://github.com/google/oss-fuzz.git
validators: update fuzzer (#9883)
Catch relevant exceptions. Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=56767 Signed-off-by: David Korczynski <david@adalogics.com>
This commit is contained in:
parent
c279d13834
commit
3baf88c939
|
@ -61,7 +61,8 @@ def TestOneInput(data):
|
|||
fdp.ConsumeIntInRange(0, 1024)),
|
||||
min_val=fdp.ConsumeIntInRange(1, 100),
|
||||
max_val=fdp.ConsumeIntInRange(1, 100))
|
||||
except validators.ValidationFailure:
|
||||
except (validators.ValidationFailure, TypeError, AssertionError):
|
||||
# Thrown by the functions.
|
||||
pass
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue