[issue8674] audioop: incorrect integer overflow checks

Mark Dickinson report at bugs.python.org
Mon May 10 17:05:17 CEST 2010


Mark Dickinson <dickinsm at gmail.com> added the comment:

Okay, it looks to me as though all those 'int' lengths should really be 'Py_ssize_t'.  I don't think that's something we can change in 2.6, though;  probably not in 2.7 either, since we're getting too close to the release.  It can and should be changed in py3k, though.

I'll review this patch and (assuming it looks good) apply it to the 2.x branches.  It would be great to have some tests, though.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8674>
_______________________________________


More information about the Python-bugs-list mailing list