[SCM] an open source computer algebra system branch, debian, updated. 3f1c419ac4981d4babdd737ac18bd16c080a761a

Bernhard R. Link brlink at debian.org
Sat Mar 3 21:58:08 UTC 2012


The following commit has been merged in the debian branch:
commit 3a9d62a3ef2fed56021a0f541886f6bb38e4c920
Author: Bernhard R. Link <brlink at debian.org>
Date:   Sat Mar 3 13:27:50 2012 +0100

    add patch to avoid segfault in internal info parser

diff --git a/debian/.git-dpm b/debian/.git-dpm
index 86ee8f2..4a7a85b 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -1,5 +1,5 @@
 # see git-dpm(1) from git-dpm package
-72d7d5a0c878cdb7c0d54c835e210b71f92f9259
+cd7a58d78788a23688d5d75fe07b6b22f20b1505
 cd7a58d78788a23688d5d75fe07b6b22f20b1505
 af80c455bead480e8e21703ac28b5a5965265887
 af80c455bead480e8e21703ac28b5a5965265887
diff --git a/debian/patches/0015-avoid-segfault-in-internal-help-parser.patch b/debian/patches/0015-avoid-segfault-in-internal-help-parser.patch
new file mode 100644
index 0000000..99aa15d
--- /dev/null
+++ b/debian/patches/0015-avoid-segfault-in-internal-help-parser.patch
@@ -0,0 +1,24 @@
+From cd7a58d78788a23688d5d75fe07b6b22f20b1505 Mon Sep 17 00:00:00 2001
+From: "Bernhard R. Link" <brlink at debian.org>
+Date: Sat, 3 Mar 2012 13:24:47 +0100
+Subject: avoid segfault in internal help parser
+
+the dummy help parser has a maximum length of index entries that is
+too short. Increase the constant to avoid that.
+---
+ Singular/fehelp.cc |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/Singular/fehelp.cc b/Singular/fehelp.cc
+index 22a6781..305330a 100644
+--- a/Singular/fehelp.cc
++++ b/Singular/fehelp.cc
+@@ -1126,7 +1126,7 @@ static void heBuiltinHelp(heEntry hentry, int br)
+ #define HELP_NOT_OPEN  1
+ #define HELP_NOT_FOUND 2
+ #define BUF_LEN        256
+-#define IDX_LEN        64
++#define IDX_LEN        256
+ #define MAX_LINES      21
+ 
+ static inline char tolow(char p)
diff --git a/debian/patches/series b/debian/patches/series
index d42608a..90be4ac 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -12,3 +12,4 @@
 0012-tag-gfan-using-examples.patch
 0013-tag-more-examples.patch
 0014-add-doc-submakes.patch
+0015-avoid-segfault-in-internal-help-parser.patch

-- 
an open source computer algebra system



More information about the debian-science-commits mailing list