Message373569
@serhiy.storchaka you name it, you have it. 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!') |
|
Date |
User |
Action |
Args |
2020-07-12 20:15:31 | Iman Sharafaldin | set | recipients:
+ Iman Sharafaldin, vstinner, christian.heimes, serhiy.storchaka |
2020-07-12 20:15:31 | Iman Sharafaldin | set | messageid: <1594584931.29.0.345883922169.issue41208@roundup.psfhosted.org> |
2020-07-12 20:15:31 | Iman Sharafaldin | link | issue41208 messages |
2020-07-12 20:15:31 | Iman Sharafaldin | create | |
|