]> 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:47:36 +0000 (15:47 +0000)
committerThomas Wouters <thomas@python.org>
Mon, 16 Jul 2001 15:47:36 +0000 (15:47 +0000)
commit1baac7201e99cb83f0a153fb3764c8c8daa9414d
tree0a927e45e69b02d6d4d1ea487b88e0a00191c184
parent687a17deaacdde85b7a9f33d36cc1eea9c868039
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