summaryrefslogtreecommitdiffstats
path: root/Python/sigcheck.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-06-08 20:27:29 (GMT)
committerGuido van Rossum <guido@python.org>1998-06-08 20:27:29 (GMT)
commita45cb45965e4afa035d5069d30a579898b79f1e3 (patch)
tree828567d9275d2b66778fe500b1ed2d7781f001b8 /Python/sigcheck.c
parenta63eff6e6aac8325cb3542a2d678cfc69fa8597e (diff)
downloadcpython-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