This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2008-07-06.21:57:56
SpamBayes Score 0.0065027587
Marked as misclassified No
Message-id <1215381479.48.0.0542422679202.issue3306@psf.upfronthosting.co.za>
In-reply-to
Content
Example:
>>> import audioop
>>> audioop.findmax(''.join( chr(x) for x in xrange(256)), -2392392)
Erreur de segmentation (core dumped)

The problem is that audioop_findmax() doesn't check len2 for negative 
value. Here is a patch ;-)
History
Date User Action Args
2008-07-06 21:57:59vstinnersetspambayes_score: 0.00650276 -> 0.0065027587
recipients: + vstinner
2008-07-06 21:57:59vstinnersetspambayes_score: 0.00650276 -> 0.00650276
messageid: <1215381479.48.0.0542422679202.issue3306@psf.upfronthosting.co.za>
2008-07-06 21:57:58vstinnerlinkissue3306 messages
2008-07-06 21:57:57vstinnercreate