We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35f9856 commit 5997e90Copy full SHA for 5997e90
Lib/test/test_io/test_memoryio.py
@@ -857,10 +857,10 @@ def test_cow_mutable(self):
857
self.assertEqual(sys.getrefcount(ba), old_rc)
858
859
@support.cpython_only
860
- def test_uaf_buffer_write(self):
861
- # Prevent use-after-free when write() triggers a re-entrant call that
862
- # closes or mutates the BytesIO object.
863
- # See: https://github.com/python/cpython/issues/143378
+ def test_write_concurrent_mutation(self):
+ # Prevent crashes when buf.write() concurrently mutates 'buf'.
+ # See: https://github.com/python/cpython/issues/143378.
+
864
class TBuf:
865
def __init__(self, bio):
866
self.bio = bio
0 commit comments