Dear release team (and Matthias),

Concerning http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676423

There is a grave bug in doxygen (segfault which causes other packages to
FTBFS) which has been fixed in unstable together with other minor fixes,
including a new upstream release. I believe that means that this fixed
package will not be able to migrate to testing.

I would like to upload a minimalistic fix to testing-proposed-updates as
an NMU. The package would simply add this patch:
 
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=21;filename=fix_676423_segfault.patch;att=1;bug=676423

and the version number would be 1.8.1-1+deb70u1 (as per my understanding
of
http://www.debian.org/doc/manuals/developers-reference/pkgs.html#nmu-changelog
).

A prospective debdiff is attached.

Is that good for you?

Kind regards, Thibaut.
diff -Nru doxygen-1.8.1.1/debian/changelog doxygen-1.8.1.1/debian/changelog
--- doxygen-1.8.1.1/debian/changelog    2012-06-13 00:52:55.000000000 +0200
+++ doxygen-1.8.1.1/debian/changelog    2012-08-06 14:49:31.000000000 +0200
@@ -1,3 +1,11 @@
+doxygen (1.8.1.1-1+deb70u1) testing-proposed-updates; urgency=low
+
+  * Non-maintainer upload
+  * Bug fix: "new segmentation faults in version 1.8.1-1", thanks to Boris
+    Pek (Closes: #676423).
+
+ -- Thibaut Paumard <paum...@users.sourceforge.net>  Mon, 06 Aug 2012 14:49:31 
+0200
+
 doxygen (1.8.1.1-1) unstable; urgency=low
 
   * doxygen 1.8.1.1 (bug fix) release.
diff -Nru doxygen-1.8.1.1/debian/patches/fix_676423_segfault.patch 
doxygen-1.8.1.1/debian/patches/fix_676423_segfault.patch
--- doxygen-1.8.1.1/debian/patches/fix_676423_segfault.patch    1970-01-01 
01:00:00.000000000 +0100
+++ doxygen-1.8.1.1/debian/patches/fix_676423_segfault.patch    2012-07-05 
17:52:45.000000000 +0200
@@ -0,0 +1,23 @@
+Description: fix for 676423: new segmentation faults in version 1.8.1-1
+ removeEmptyLines() segfaults on empty string
+Author: Thibaut Paumard <paum...@users.sourceforge.net>
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676423
+Forwarded: no
+Last-Update: 2012-07-05
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/src/htmlgen.cpp
++++ b/src/htmlgen.cpp
+@@ -936,6 +936,11 @@
+ static QCString removeEmptyLines(const QCString &s)
+ {
+   BufStr out(s.length()+1);
++  if (s.length()==0)
++  {
++    out.addChar('\0');
++    return out.data();
++  }
+   char *p=s.data();
+   char c;
+   while ((c=*p++))
diff -Nru doxygen-1.8.1.1/debian/patches/series 
doxygen-1.8.1.1/debian/patches/series
--- doxygen-1.8.1.1/debian/patches/series       2011-12-12 15:57:06.000000000 
+0100
+++ doxygen-1.8.1.1/debian/patches/series       2012-07-05 17:48:23.000000000 
+0200
@@ -5,3 +5,4 @@
 gcc-g.diff
 doxygen-jquery.patch
 #dot_num_threads.diff
+fix_676423_segfault.patch

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to