Message373573
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 21:36:09 | Iman Sharafaldin | set | recipients:
+ Iman Sharafaldin |
2020-07-12 21:36:09 | Iman Sharafaldin | set | messageid: <1594589769.15.0.967548182299.issue41288@roundup.psfhosted.org> |
2020-07-12 21:36:09 | Iman Sharafaldin | link | issue41288 messages |
2020-07-12 21:36:09 | Iman Sharafaldin | create | |
|