You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use-after-free in TextIOWrapper.tell() with a reentrant decoder #153539
The C implementation of TextIOWrapper.tell() uses a borrowed reference to the snapshot's next_input bytes across the decoder's getstate()/decode()/setstate() calls. A decoder whose getstate() re-enters seek() clears the snapshot and frees next_input, so tell() then reads freed memory (a use-after-free; segfaults on a debug build).
Activity
gh-153539: Fix use-after-free in TextIOWrapper.tell() with a reentran…
pythongh-153539: Fix use-after-free in TextIOWrapper.tell() with a re…
[3.13] gh-153539: Fix use-after-free in TextIOWrapper.tell() with a r…
[3.14] gh-153539: Fix use-after-free in TextIOWrapper.tell() with a r…
[3.15] gh-153539: Fix use-after-free in TextIOWrapper.tell() with a r…