diff options
author | Guido van Rossum <guido@python.org> | 1998-06-08 20:27:29 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-06-08 20:27:29 (GMT) |
commit | a45cb45965e4afa035d5069d30a579898b79f1e3 (patch) | |
tree | 828567d9275d2b66778fe500b1ed2d7781f001b8 /Python/sigcheck.c | |
parent | a63eff6e6aac8325cb3542a2d678cfc69fa8597e (diff) | |
download | cpython-a45cb45965e4afa035d5069d30a579898b79f1e3.zip cpython-a45cb45965e4afa035d5069d30a579898b79f1e3.tar.gz cpython-a45cb45965e4afa035d5069d30a579898b79f1e3.tar.bz2 |
When unmarshalling, add test for negative lengths on strings, tuples
and lists; if the size is negative, raise an exception. Also raise an
exception when an undefined type is found -- all this to increase the
chance that garbage input causes an exception instead of a core dump.
Diffstat (limited to 'Python/sigcheck.c')
0 files changed, 0 insertions, 0 deletions