Guido van Rossum a45cb45965 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.
1998-06-08 20:27:29 +00:00
..
1996-10-25 14:44:06 +00:00
1994-08-29 10:43:12 +00:00
1996-10-25 14:44:06 +00:00
1998-05-15 22:04:07 +00:00
1997-07-19 19:48:41 +00:00
1996-10-25 14:44:06 +00:00
1997-09-05 07:33:22 +00:00
1997-07-19 19:48:41 +00:00
1997-07-19 19:48:41 +00:00
1998-04-09 21:39:57 +00:00
1996-08-29 18:10:41 +00:00
1998-05-18 13:42:45 +00:00
1997-09-05 07:33:22 +00:00
1996-08-29 18:10:30 +00:00
1996-08-19 22:12:39 +00:00
1997-11-22 21:53:48 +00:00
1997-11-22 21:53:48 +00:00