commit | faa54a392951468090f0095ffa927b16fcb20ca4 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Sun Aug 19 04:23:20 2007 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Sun Aug 19 04:23:20 2007 +0000 |
tree | a8586a5cc833217e6b1eaf4d052313475534178a | |
parent | 1836358c016cd7f5117f4f34fa3a27c5701e8265 [diff] |
Code review of the new buffer protocol. Mostly add questions that should 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.