Skip to content

Commit 6ff52cd

Browse files
[3.13] Add PyExc_OverflowError to the list of possible exceptions in fuzz_ast_literal_eval fuzzer (GH-145429) (#158083)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
1 parent 66d0897 commit 6ff52cd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎Modules/_xxtestfuzz/fuzzer.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ static int fuzz_ast_literal_eval(const char* data, size_t size) {
429429
PyErr_ExceptionMatches(PyExc_TypeError) ||
430430
PyErr_ExceptionMatches(PyExc_SyntaxError) ||
431431
PyErr_ExceptionMatches(PyExc_MemoryError) ||
432+
PyErr_ExceptionMatches(PyExc_OverflowError) ||
432433
PyErr_ExceptionMatches(PyExc_RecursionError))
433434
) {
434435
PyErr_Clear();

0 commit comments

Comments
 (0)