[med-svn] [SCM] cufflinks branch, master, updated. debian/1.3.0-2-25-g15755ce

Andreas Tille tille at debian.org
Wed May 22 12:37:29 UTC 2013


The following commit has been merged in the master branch:
commit 15755ce3425a63a0f8f66b0599c81167e2cbc049
Author: Andreas Tille <tille at debian.org>
Date:   Wed May 22 14:39:56 2013 +0200

    Enable hardening via --format-security which is automatically enforced by debhelper 9

diff --git a/debian/changelog b/debian/changelog
index 2762b57..c994b3c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,7 @@ cufflinks (2.1.1-1) UNRELEASED; urgency=low
      - Removed: DM-Upload-Allowed
      - Standards-Version: 3.9.4
      - Debhelper 9 (also d/compat)
+       requires d/p/format-security.patch for hardening via --format-security
      - normalised format
 
  -- Andreas Tille <tille at debian.org>  Wed, 22 May 2013 13:27:40 +0200
diff --git a/debian/patches/format-security.patch b/debian/patches/format-security.patch
new file mode 100644
index 0000000..fa13f78
--- /dev/null
+++ b/debian/patches/format-security.patch
@@ -0,0 +1,16 @@
+Author: Andreas Tille <tille at debian.org>
+Date: Wed, 22 May 2013 13:27:40 +0200
+Description: When building with --format-security (Debhelper 9 hardening)
+ this patch is needed to build successfully
+
+--- a/src/locfit/makecmd.c
++++ b/src/locfit/makecmd.c
+@@ -200,7 +200,7 @@ char *cmdline;
+   /* vs is used to store the command line string. */
+   sprintf(vn,"=clstr%d",clcount);
+   vs = createvar(vn,STSYSTEM,1+strlen(cmdline),VCHAR);
+-  sprintf((char *)vdptr(vs),cmdline);
++  sprintf((char *)vdptr(vs),"%s",cmdline);
+ 
+   /* va is used to store pointers to the command line fields. */
+   sprintf(vn,"=cline%d",clcount);
diff --git a/debian/patches/series b/debian/patches/series
index bc2b9b1..805bdd1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 0001-fix_spelling.patch
 0002-bam2samtools.patch
 0003-fix_includes_path.patch
+format-security.patch

-- 
Transcript assembly, differential expression, and differential regulation for RNA-Seq.



More information about the debian-med-commit mailing list