Merged revisions 81045 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81045 | mark.dickinson | 2010-05-10 17:07:42 +0100 (Mon, 10 May 2010) | 3 lines

  Issue #8674: Fix incorrect and UB-inducing overflow checks in audioop
  module.  Thanks Tomas Hoger for the patch.
........
diff --git a/Misc/NEWS b/Misc/NEWS
index 5da256a..64cbf3c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1114,6 +1114,9 @@
 Extension Modules
 -----------------
 
+- Issue #8674: Fixed a number of incorrect or undefined-behaviour-inducing
+  overflow checks in the audioop module.
+
 - Issue #8644: The accuracy of td.total_seconds() has been improved (by
   calculating with integer arithmetic instead of float arithmetic internally):
   the result is now always correctly rounded, and is equivalent to td /