mirror of
https://github.com/python/cpython.git
synced 2026-05-19 19:03:25 -04:00
faa54a3929
be answered with the comments removed. There are many places that require checks when doing arithmetic for memory sizes when allocating memory. Otherwise, overflow is possible with a subsequent crash. Fix SF #1777057 which was a result of not initializing the new BufferError properly. Had to update the test for exceptions for BufferError too.