r17232 - in /trunk/libapache2-mod-perl2/debian: changelog patches/015-nonvoid-return.patch patches/series

ntyni at users.alioth.debian.org ntyni at users.alioth.debian.org
Wed Mar 12 13:04:56 UTC 2008


Author: ntyni
Date: Wed Mar 12 13:04:55 2008
New Revision: 17232

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=17232
Log:
* debian/patches/015-nonvoid-return.patch: make modperl_thx_interp_get()
  always return a value, fixing undefined behaviour that led to a SIGBUS
  on sparc (Closes: #468327).

Added:
    trunk/libapache2-mod-perl2/debian/patches/015-nonvoid-return.patch
Modified:
    trunk/libapache2-mod-perl2/debian/changelog
    trunk/libapache2-mod-perl2/debian/patches/series

Modified: trunk/libapache2-mod-perl2/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache2-mod-perl2/debian/changelog?rev=17232&op=diff
==============================================================================
--- trunk/libapache2-mod-perl2/debian/changelog (original)
+++ trunk/libapache2-mod-perl2/debian/changelog Wed Mar 12 13:04:55 2008
@@ -1,3 +1,11 @@
+libapache2-mod-perl2 (2.0.3-4) UNRELEASED; urgency=low
+
+  * debian/patches/015-nonvoid-return.patch: make modperl_thx_interp_get()
+    always return a value, fixing undefined behaviour that led to a SIGBUS 
+    on sparc (Closes: #468327).
+
+ -- Niko Tyni <ntyni at debian.org>  Wed, 12 Mar 2008 14:44:17 +0200
+
 libapache2-mod-perl2 (2.0.3-3) unstable; urgency=low
 
   [ gregor herrmann ]

Added: trunk/libapache2-mod-perl2/debian/patches/015-nonvoid-return.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache2-mod-perl2/debian/patches/015-nonvoid-return.patch?rev=17232&op=file
==============================================================================
--- trunk/libapache2-mod-perl2/debian/patches/015-nonvoid-return.patch (added)
+++ trunk/libapache2-mod-perl2/debian/patches/015-nonvoid-return.patch Wed Mar 12 13:04:55 2008
@@ -1,0 +1,13 @@
+Make modperl_thx_interp_get() always return a value, fixing
+undefined behaviour that led to a SIGBUS on sparc (#468327).
+--- libapache2-mod-perl2.orig/src/modules/perl/modperl_interp.c
++++ libapache2-mod-perl2/src/modules/perl/modperl_interp.c
+@@ -581,7 +581,7 @@
+     modperl_interp_t *interp;
+     dTHXa(thx);
+     SV **svp = hv_fetch(PL_modglobal, MP_THX_INTERP_KEY, strlen(MP_THX_INTERP_KEY), 0);
+-    if (!svp) return;
++    if (!svp) return NULL;
+     interp = INT2PTR(modperl_interp_t *, SvIV(*svp));
+     return interp;
+ }

Modified: trunk/libapache2-mod-perl2/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache2-mod-perl2/debian/patches/series?rev=17232&op=diff
==============================================================================
--- trunk/libapache2-mod-perl2/debian/patches/series (original)
+++ trunk/libapache2-mod-perl2/debian/patches/series Wed Mar 12 13:04:55 2008
@@ -8,3 +8,4 @@
 011-svn-fix-perl5.10-build.patch
 012-svn-more-perl5.10-fixes.patch 
 013-test-apache-status.patch 
+015-nonvoid-return.patch




More information about the Pkg-perl-cvs-commits mailing list