]> granicus.if.org Git - python/commit
#3664: The pickle module could segfault if a Pickler instance is not correctly initia...
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Fri, 17 Oct 2008 20:15:53 +0000 (20:15 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Fri, 17 Oct 2008 20:15:53 +0000 (20:15 +0000)
commit87eee631fb1ae38aa15ebd9741a1af82dd7b4ea0
tree0c7161ab30734ac3244aea50e6417d7c2ed913ea
parent869bad9b5a4a51640ee97deda95913899c663333
#3664: The pickle module could segfault if a Pickler instance is not correctly initialized:
when a subclass forgets to call the base __init__ method,
or when __init__ is called a second time with invalid parameters

Patch by Alexandre Vassalotti.
Lib/test/pickletester.py
Misc/NEWS
Modules/_pickle.c