Hi, I am sorry to intrude in this thread. But I think there is a vulnerability in macos caused by ftruncate. For instance running the following code abruptly crashed macos (mojave and catalina).
``` from multiprocessing.shared_memory import SharedMemory shm = SharedMemory(name='test-crash', create=True, size=1000000000000000000) ``` This is being tracked at https://bugs.python.org/issue39584 <https://bugs.python.org/issue39584>. Could please comment whether this should be fixed by python, or we should wait for a macos fix. > On 12-Aug-2020, at 4:38 PM, Victor Stinner <vstin...@python.org> wrote: > > https://pypi.org/project/check-python-vuln/ > <https://pypi.org/project/check-python-vuln/>
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/K23LLSPSJ3RCJZUNXKSXURJLVTPFS3KB/ Code of Conduct: http://python.org/psf/codeofconduct/