[issue13806] Audioop decompression frames size check fix

Oleg Plakhotnyuk report at bugs.python.org
Fri Jan 20 05:35:04 CET 2012


Oleg Plakhotnyuk <olegus8 at gmail.com> added the comment:

Yep, you're right. Didn't noticed audioop_check_size() function at first.

The fact that audioop accepts unicode strings seems weird to me too. I've replaced strings with bytes in tests. However, I'm afraid to add restrictions to library itself because of backward compatibility.

----------
Added file: http://bugs.python.org/file24284/audioop_size_check.patch

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


More information about the Python-bugs-list mailing list