]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Carefully check for overflow when allocating the memory for fromfile
authorGuido van Rossum <guido@python.org>
Tue, 23 Feb 1999 18:05:22 +0000 (18:05 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 23 Feb 1999 18:05:22 +0000 (18:05 +0000)
commit3791b0de365237b3bdddcc050858a83b8fd97f99
treee807ff3bc40fa12caebef7eec5cc7aac8f49eae8
parent24f8579ee4f01d1c22eaf26211a690e8b0d53251
Carefully check for overflow when allocating the memory for fromfile
-- someone tried to pass in sys.maxint and got bitten by the bogus
calculations.
Modules/arraymodule.c