mirror of https://github.com/google/oss-fuzz.git
mrab-regex: avoid recursion error exceptions (#9183)
They are uninteresting. Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=54203
This commit is contained in:
parent
8ad4bc718b
commit
bb0a9f8c32
|
@ -28,6 +28,9 @@ def TestOneInput(data):
|
|||
except ValueError:
|
||||
# Compile throws several ValueErrors
|
||||
pass
|
||||
except RecursionError:
|
||||
# uninteresting
|
||||
pass
|
||||
|
||||
# Target regex.sub
|
||||
try:
|
||||
|
@ -40,7 +43,9 @@ def TestOneInput(data):
|
|||
except ValueError:
|
||||
# Compile throws several ValueErrors
|
||||
pass
|
||||
|
||||
except RecursionError:
|
||||
# uninteresting
|
||||
pass
|
||||
|
||||
def main():
|
||||
atheris.instrument_all()
|
||||
|
|
Loading…
Reference in New Issue