pasta: catch recursion error (#9324)

The type of issue is not interesting.

Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=54419
This commit is contained in:
DavidKorczynski 2022-12-31 12:11:20 +00:00 committed by GitHub
parent 7b63e429f2
commit 02c110700c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,8 @@ def TestOneInput(data):
SyntaxError, # thrown by ast fast
ValueError, # thrown by ast fast
pasta.base.annotate.AnnotationError, # pasta-thrown error
MemoryError # For stack overflows
MemoryError, # For stack overflows
RecursionError # Not interesting
):
pass