Skip to content
Snippets Groups Projects
Unverified Commit 18b07d77 authored by Serhiy Storchaka's avatar Serhiy Storchaka Committed by GitHub
Browse files

bpo-36819: Fix crashes in built-in encoders with weird error handlers (GH-28593)

If the error handler returns position less or equal than the starting
position of non-encodable characters, most of built-in encoders didn't
properly re-size the output buffer. This led to out-of-bounds writes,
and segfaults.
parent 614420df
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment