New submission from Davis Herring <herr...@lanl.gov>:

Most of the "p->depth--;" lines associated with "p->error = 
WFERR_UNMARSHALLABLE;" are spurious, and can crash the interpreter if enough of 
them prevent reaching MAX_MARSHAL_STACK_DEPTH.  (The only exceptions are in 
2.7, where some of them are followed by a return that skips another 
"p->depth--;".)

----------
components: Interpreter Core
messages: 350841
nosy: herring
priority: normal
severity: normal
status: open
title: WFERR_UNMARSHALLABLE breaks recursion limit
type: crash
versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37985>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to