gh-143003: Fix possible shared buffer overflow in bytearray.extend() (GH-143086)
When __length_hint__() returns 0 for non-empty iterator, the data can be written past the shared 0-terminated buffer, corrupting it.
S
Serhiy Storchaka committed
522563549a49d28e763635c58274a23a6055f041
Parent: 23abbf1
Committed by GitHub <noreply@github.com>
on 12/28/2025, 12:30:36 PM