[issue23985] Crash when deleting slices from duplicated bytearray

Martin Panter report at bugs.python.org
Sat Apr 18 07:54:23 CEST 2015


Martin Panter added the comment:

Posting bytearray-resize.patch which stops “del” from expanding the allocated buffer. This one is not necessary to fix the reported bug, but avoids the separate quirk identified in step 2.

----------
stage: needs patch -> patch review
Added file: http://bugs.python.org/file39099/bytearray-resize.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23985>
_______________________________________


More information about the Python-bugs-list mailing list