[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Please unblock gss 0.0.18-2



Fixes a FTBFS on AMD64 due to a type mismatch bug that may also cause
runtime stack corruption on other 64-bit architectures.

gss (0.0.18-2) unstable; urgency=medium

  [ Russ Allbery ]
  * Urgency medium since it fixes a major bug on 64-bit platforms and the
    patch is minimal.

  [ Simon Josefsson ]
  * Fix 64-bit related bug that affects all platforms with
    sizeof(int)<sizeof(size_t), and caused a FTBFS on amd64
    (closes: #404739).

Here is the diff:

diff -u gss-0.0.18/debian/changelog gss-0.0.18/debian/changelog
--- gss-0.0.18/debian/changelog
+++ gss-0.0.18/debian/changelog
@@ -1,3 +1,16 @@
+gss (0.0.18-2) unstable; urgency=medium
+
+  [ Russ Allbery ]
+  * Urgency medium since it fixes a major bug on 64-bit platforms and the
+    patch is minimal.
+
+  [ Simon Josefsson ]
+  * Fix 64-bit related bug that affects all platforms with
+    sizeof(int)<sizeof(size_t), and caused a FTBFS on amd64
+    (closes: #404739).
+
+ -- Russ Allbery <rra@debian.org>  Tue,  9 Jan 2007 14:02:14 -0800
+
 gss (0.0.18-1) unstable; urgency=low
 
   * Initial release (closes: #344593)
diff -u gss-0.0.18/debian/rules gss-0.0.18/debian/rules
--- gss-0.0.18/debian/rules
+++ gss-0.0.18/debian/rules
@@ -6,6 +6,7 @@
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
 version := $(shell dpkg-parsechangelog | grep ^Version: \
                  | cut -d' ' -f2 | cut -d- -f1)
only in patch2:
unchanged:
--- gss-0.0.18.orig/debian/patches/00-fix-ftbfs-amd64.diff
+++ gss-0.0.18/debian/patches/00-fix-ftbfs-amd64.diff
@@ -0,0 +1,13 @@
+Pulled from gss 0.0.19.
+
+--- gss-0.0.18/lib/asn1.c~	2006-11-06 22:25:31.000000000 +0100
++++ gss-0.0.18/lib/asn1.c	2007-01-09 08:15:47.000000000 +0100
+@@ -175,7 +175,7 @@
+ 			char **oid, size_t * oidlen,
+ 			char **out, size_t * outlen)
+ {
+-  int i;
++  size_t i;
+   size_t asn1lenlen;
+ 
+   if (inlen-- == 0)

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: