This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Iman Sharafaldin
Recipients Iman Sharafaldin
Date 2020-07-12.21:36:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594589769.15.0.967548182299.issue41288@roundup.psfhosted.org>
In-reply-to
Content
The following code generates a segfault on the Pickle module [it's a crafted datetime object] (Python 3.10.0a0 (heads/master:b40e434, Jul  4 2020), Python 3.6.11 and Python 3.7.2):

import io
import pickle


hex_string = "8004952A000000000000008C086461746574696D65948C086461746574696D65949388430A07B2010100000000000092059452942E"
myb = bytes.fromhex(hex_string)
f = io.BytesIO(myb)
print(f)
data = pickle.load(f)
print(data)
print('We have segfault but we cannot see!')
History
Date User Action Args
2020-07-12 21:36:09Iman Sharafaldinsetrecipients: + Iman Sharafaldin
2020-07-12 21:36:09Iman Sharafaldinsetmessageid: <1594589769.15.0.967548182299.issue41288@roundup.psfhosted.org>
2020-07-12 21:36:09Iman Sharafaldinlinkissue41288 messages
2020-07-12 21:36:09Iman Sharafaldincreate