bpo-42150: Avoid buffer overflow in the new parser (GH-22978)

2 files changed