[Python-modules-commits] r9571 - in packages/mod-wsgi/trunk/debian (3 files)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Fri Aug 28 21:44:54 UTC 2009


    Date: Friday, August 28, 2009 @ 21:44:52
  Author: piotr
Revision: 9571

* Rebuild for Lenny (Closes: #526154)
* Add patch from upstream's mod_wsgi-2.X branch (revision 1352)
  (decrement of reference count on NULL pointer)

Added:
  packages/mod-wsgi/trunk/debian/patches/r1352.dpatch
Modified:
  packages/mod-wsgi/trunk/debian/changelog
  packages/mod-wsgi/trunk/debian/patches/00list

Modified: packages/mod-wsgi/trunk/debian/changelog
===================================================================
--- packages/mod-wsgi/trunk/debian/changelog	2009-08-28 20:53:38 UTC (rev 9570)
+++ packages/mod-wsgi/trunk/debian/changelog	2009-08-28 21:44:52 UTC (rev 9571)
@@ -1,3 +1,11 @@
+mod-wsgi (2.5-1~lenny1) stable; urgency=medium
+
+  * Rebuild for Lenny (Closes: #526154)
+  * Add patch from upstream's mod_wsgi-2.X branch (revision 1352)
+    (decrement of reference count on NULL pointer)
+
+ -- Piotr Ożarowski <piotr at debian.org>  Fri, 28 Aug 2009 23:17:18 +0200
+
 mod-wsgi (2.5-1) unstable; urgency=low
 
   * New upstream bugfix release.

Modified: packages/mod-wsgi/trunk/debian/patches/00list
===================================================================
--- packages/mod-wsgi/trunk/debian/patches/00list	2009-08-28 20:53:38 UTC (rev 9570)
+++ packages/mod-wsgi/trunk/debian/patches/00list	2009-08-28 21:44:52 UTC (rev 9571)
@@ -1 +1,2 @@
 configure-apache-version
+r1352

Added: packages/mod-wsgi/trunk/debian/patches/r1352.dpatch
===================================================================
--- packages/mod-wsgi/trunk/debian/patches/r1352.dpatch	                        (rev 0)
+++ packages/mod-wsgi/trunk/debian/patches/r1352.dpatch	2009-08-28 21:44:52 UTC (rev 9571)
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## r1352.dpatch by Graham Dumpleton <graham.dumpleton at gmail.com>
+##
+## DP: Fixed bug where was decrementing Python object reference count on
+## DP: NULL pointer, causing a crash. This was possibly only occuring in
+## DP: embedded mode and only where closure of remote client connection was
+## DP: detected before any request content was read. The issue may have been
+## DP: more prevalent for a HTTPS connection from client
+
+ at DPATCH@
+diff -urNad mod-wsgi-2.5~/mod_wsgi.c mod-wsgi-2.5/mod_wsgi.c
+--- mod-wsgi-2.5~/mod_wsgi.c	2009-05-11 13:15:20.000000000 +0200
++++ mod-wsgi-2.5/mod_wsgi.c	2009-08-28 23:28:18.541018240 +0200
+@@ -1540,7 +1540,6 @@
+ 
+         if (n == -1) {
+             PyErr_SetString(PyExc_IOError, "request data read error");
+-            Py_DECREF(result);
+             return NULL;
+         }
+ 


Property changes on: packages/mod-wsgi/trunk/debian/patches/r1352.dpatch
___________________________________________________________________
Added: svn:executable
   + *




More information about the Python-modules-commits mailing list