• Tim Peters's avatar
    SF bug 482574: audioop.ratecv crashes. · 1691bd9f
    Tim Peters yazdı
    Bugfix candidate.
    A numerically naive computation of output buffer size caused crashes
    and spurious MemoryErrors for reasonable arguments.
    audioop_ratecv():  Avoid spurious overflow by careful reworking of the
    buffer size computations, triggering MemoryError if and only if the
    final buffer size can't be represented in a C int (although
    PyString_FromStringAndSize may legitimately raise MemoryError even if
    it does fit in a C int).  All reasonable arguments should work as
    intended now, and all unreasonable arguments should be cuaght.
    1691bd9f
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
PLAN.txt Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...