[issue15994] memoryview to freed memory can cause segfault

Stefan Krah report at bugs.python.org
Sat Oct 31 11:05:22 EDT 2015


Stefan Krah added the comment:

> But I think there should be some way of guaranteeing that a memoryview will not try to access memory which has already been freed.

Unless the "buffered *self" parameter in _buffered_raw_read() is
made a full PEP-3118 exporter, I'm not sure how it would be possible
to prevent all examples of this kind.

----------
nosy: +skrah

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


More information about the Python-bugs-list mailing list