[Python-modules-commits] r14457 - in packages/numpy/trunk/debian (3 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Mon Sep 20 16:34:02 UTC 2010


    Date: Monday, September 20, 2010 @ 16:33:49
  Author: morph
Revision: 14457

* debian/patches/changeset_r8364.diff
  - fix memory corruption (double free); thanks to Joseph Barillari for the
    report and to Michael Gilbert for pushing resolution; Closes: #581058

Added:
  packages/numpy/trunk/debian/patches/changeset_r8364.diff
Modified:
  packages/numpy/trunk/debian/changelog
  packages/numpy/trunk/debian/patches/series

Modified: packages/numpy/trunk/debian/changelog
===================================================================
--- packages/numpy/trunk/debian/changelog	2010-09-20 16:09:44 UTC (rev 14456)
+++ packages/numpy/trunk/debian/changelog	2010-09-20 16:33:49 UTC (rev 14457)
@@ -2,8 +2,11 @@
 
   * debian/patches/10_use_local_python.org_object.inv_sphinx.diff
     - fixed small typo in description
+  * debian/patches/changeset_r8364.diff
+    - fix memory corruption (double free); thanks to Joseph Barillari for the
+      report and to Michael Gilbert for pushing resolution; Closes: #581058
 
- -- Sandro Tosi <morph at debian.org>  Mon, 20 Sep 2010 18:08:15 +0200
+ -- Sandro Tosi <morph at debian.org>  Mon, 20 Sep 2010 18:11:44 +0200
 
 python-numpy (1:1.4.1-4) unstable; urgency=low
 

Added: packages/numpy/trunk/debian/patches/changeset_r8364.diff
===================================================================
--- packages/numpy/trunk/debian/patches/changeset_r8364.diff	                        (rev 0)
+++ packages/numpy/trunk/debian/patches/changeset_r8364.diff	2010-09-20 16:33:49 UTC (rev 14457)
@@ -0,0 +1,10 @@
+Index: /trunk/numpy/core/src/multiarray/number.c
+===================================================================
+--- python-numpy-1.4.1.orig/numpy/core/src/multiarray/number.c (revision 7888)
++++ python-numpy-1.4.1.orig/numpy/core/src/multiarray/number.c (revision 8364)
+@@ -31,4 +31,5 @@
+             return -1;                                    \
+         }                                                 \
++        Py_INCREF(temp);                                  \
+         Py_XDECREF(n_ops.op);                             \
+         n_ops.op = temp;                                  \

Modified: packages/numpy/trunk/debian/patches/series
===================================================================
--- packages/numpy/trunk/debian/patches/series	2010-09-20 16:09:44 UTC (rev 14456)
+++ packages/numpy/trunk/debian/patches/series	2010-09-20 16:33:49 UTC (rev 14457)
@@ -7,3 +7,4 @@
 changeset_r8510.diff
 changeset_r8511.diff
 changeset_r8526.diff
+changeset_r8364.diff




More information about the Python-modules-commits mailing list