diff options
| author | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-09-15 15:14:51 (GMT) |
|---|---|---|
| committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-09-15 15:14:51 (GMT) |
| commit | be467e5c69515c355982e41d90762a31f2d3f75b (patch) | |
| tree | 82e62b2aa1d370258dd72c41fcce76835e5180f4 /Python/pythonrun.c | |
| parent | a647f577f00647063f1e29be75b2b3b8207fc3d0 (diff) | |
| download | cpython-be467e5c69515c355982e41d90762a31f2d3f75b.zip cpython-be467e5c69515c355982e41d90762a31f2d3f75b.tar.gz cpython-be467e5c69515c355982e41d90762a31f2d3f75b.tar.bz2 | |
Fix Bug #114293:
Strings are unpickled by calling eval on the string's repr. This
change makes pickle work like cPickle; it checks if the pickled
string is safe to eval and raises ValueError if it is not.
test suite modifications:
Verify that pickle catches a variety of insecure string pickles
Make test_pickle and test_cpickle use exactly the same test suite
Add test for pickling recursive object
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
