]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix SF #441664: Python crash on del of a slice of a mmap
authorThomas Wouters <thomas@python.org>
Mon, 16 Jul 2001 15:45:20 +0000 (15:45 +0000)
committerThomas Wouters <thomas@python.org>
Mon, 16 Jul 2001 15:45:20 +0000 (15:45 +0000)
commitb8238516a2eadc8ec1e6a55fdc3c0664bb97349d
treeeee899b9d796c39ceab51acb10b6bbf7a64d427d
parentc743869a59972f4accc0c1f6ab9594ef888e0f20
Fix SF #441664: Python crash on del of a slice of a mmap

Check for slice/item deletion, which calls slice/item assignment with a NULL
value, and raise a TypeError instead of coredumping. Bugreport and suggested
fix by Alex Martelli.
Modules/mmapmodule.c