[yorick] 01/01: yorick (2.2.04+dfsg-2) unstable; urgency=low

Thibaut Jean-Claude Paumard thibaut at moszumanska.debian.org
Tue May 19 08:46:51 UTC 2015


This is an automated email from the git hooks/post-receive script.

thibaut pushed a commit to branch master
in repository yorick.

commit 7ba4c30acb79d1e5ff6fa0bdc4dea8ab83d54430
Author: Thibaut Paumard <thibaut at debian.org>
Date:   Tue May 19 10:46:28 2015 +0200

    yorick (2.2.04+dfsg-2) unstable; urgency=low
    
      * Fix segfault at startup when yorick is not in the first directory of
          the PATH variable (Closes: #785692).
    
     -- Thibaut Paumard <thibaut at debian.org>  Tue, 19 May 2015 10:41:54 +0200
---
 debian/changelog                   |  7 +++++++
 debian/patches/segfault-at-startup | 20 ++++++++++++++++++++
 debian/patches/series              |  1 +
 3 files changed, 28 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8a8c516..f0ad78e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+yorick (2.2.04+dfsg-2) unstable; urgency=low
+
+  * Fix segfault at startup when yorick is not in the first directory of
+    the PATH variable (Closes: #785692).
+
+ -- Thibaut Paumard <thibaut at debian.org>  Tue, 19 May 2015 10:41:54 +0200
+
 yorick (2.2.04+dfsg-1) unstable; urgency=low
 
   * New upstream release
diff --git a/debian/patches/segfault-at-startup b/debian/patches/segfault-at-startup
new file mode 100644
index 0000000..6b9996a
--- /dev/null
+++ b/debian/patches/segfault-at-startup
@@ -0,0 +1,20 @@
+Description: SEGFAULT at startup if not in the first PATH
+ This is due to lack of \0 at the end of tried path in slinks.c
+Author: Thibaut Paumard <thibaut at debian.org>
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/785692
+Forwarded: Yes (by e-mail)
+Last-Update: 2015-05-19
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/play/unix/slinks.c
++++ b/play/unix/slinks.c
+@@ -101,7 +101,7 @@
+       }
+       if (wkspc[j-1] == '/') s = 0;
+       else s = 1, wkspc[j] = '/';
+-      for (; j<k+i && j+s<P_WKSIZ ; j++) wkspc[j+s] = argv0[j-k];
++      for (; j<k+i+1 && j+s<P_WKSIZ ; j++) wkspc[j+s] = argv0[j-k];
+       if (u_executable_file(wkspc) >= 0) break;
+       k = 0;
+       c = path[0];
diff --git a/debian/patches/series b/debian/patches/series
index 34ded65..0ead375 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+segfault-at-startup
 template_html
 help_text
 packinfo_txt

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/yorick.git



More information about the debian-science-commits mailing list