Skip to content

Commit 6a58ffe

Browse files
committed
fix: fix news format
1 parent 01fcc68 commit 6a58ffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Fix use-after-free in :class:`bytearray` search-like methods (:func:`~bytearray.find`, :func:`~bytearray.count`, :func:`~bytearray.index`, :func:`~bytearray.rindex`, and :func:`~bytearray.rfind`) by marking the storage as exported which causes reallocation attempts to raise :exc:`BufferError`. For :func:`~bytearray.contains`, :func:`~bytearray.split`, and :func:`~bytearray.rsplit` the :ref:`buffer protocol <bufferobjects>` is used for this.
1+
Fix use-after-free in :class:`bytearray` search-like methods (:meth:`~bytearray.find`, :meth:`~bytearray.count`, :meth:`~bytearray.index`, :meth:`~bytearray.rindex`, and :meth:`~bytearray.rfind`) by marking the storage as exported which causes reallocation attempts to raise :exc:`BufferError`. For :meth:`~bytearray.__contains__`, :meth:`~bytearray.split`, and :meth:`~bytearray.rsplit` the :ref:`buffer protocol <bufferobjects>` is used for this.

0 commit comments

Comments
 (0)