]> granicus.if.org Git - python/commit
Insert an overflow check when the sequence repetition count is outside
authorGuido van Rossum <guido@python.org>
Wed, 11 Sep 2002 19:00:52 +0000 (19:00 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 11 Sep 2002 19:00:52 +0000 (19:00 +0000)
commit02fe64708f809d00bfaa31fa7a7105ec2d7d28a1
tree00bf849bf57a1ced47c3e0320cf516b9168d9cb0
parentf981a3373c1804fb79288f66a275ec095fd9acbf
Insert an overflow check when the sequence repetition count is outside
the range of ints.  The old code would pass random truncated bits to
sq_repeat() on a 64-bit machine.

Backport candidate.
Objects/intobject.c