This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients serhiy.storchaka, vstinner
Date 2014-12-02.21:58:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1417557487.77.0.0429133076736.issue22984@psf.upfronthosting.co.za>
In-reply-to
Content
JSON encoder uses recursion calls guards but they don't save from an overflow of C stack.

How to reproduce:

import json
sys.setrecursionlimit(1000000000)
json.dumps(5j, check_circular=False, default=lambda o: [o])
History
Date User Action Args
2014-12-02 21:58:07serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner
2014-12-02 21:58:07serhiy.storchakasetmessageid: <1417557487.77.0.0429133076736.issue22984@psf.upfronthosting.co.za>
2014-12-02 21:58:07serhiy.storchakalinkissue22984 messages
2014-12-02 21:58:07serhiy.storchakacreate