Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian....@packages.debian.org
Usertags: pu

Hi,

let's fix the segmentation fault in csh's eval. #933057

this is a backport from sid and the updated package has already been
uploaded.


Andreas
diff -Nru csh-20110502/debian/changelog csh-20110502/debian/changelog
--- csh-20110502/debian/changelog       2018-09-10 13:49:15.000000000 +0200
+++ csh-20110502/debian/changelog       2020-01-13 22:40:53.000000000 +0100
@@ -1,3 +1,13 @@
+csh (20110502-4+deb10u1) buster; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Alastair McKinstry ]
+  * Fix for segfault on eval. Patch thanks to Keith Thompson, Graham Inggs.
+    Closes: #933057
+
+ -- Andreas Beckmann <a...@debian.org>  Mon, 13 Jan 2020 22:40:53 +0100
+
 csh (20110502-4) unstable; urgency=medium
 
   * Take over as maintainer. Closes: #868691
diff -Nru csh-20110502/debian/patches/pointer_deref_comparison.patch 
csh-20110502/debian/patches/pointer_deref_comparison.patch
--- csh-20110502/debian/patches/pointer_deref_comparison.patch  2017-08-28 
11:46:44.000000000 +0200
+++ csh-20110502/debian/patches/pointer_deref_comparison.patch  2020-01-13 
22:40:53.000000000 +0100
@@ -1,3 +1,8 @@
+Last-Updated: 2019-09-21
+Bug-Origin:    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933057
+Forwarded: not-needed
+
+
 --- csh-20110502.orig/lex.c
 +++ csh-20110502/lex.c
 @@ -1304,7 +1304,7 @@ top:
@@ -5,7 +10,7 @@
      }
      if (alvec) {
 -      if ((alvecp = *alvec) != '\0') {
-+      if (*(alvecp = *alvec) != '\0') {
++      if ((alvecp = *alvec) != NULL) {
            alvec++;
            goto top;
        }
@@ -14,7 +19,7 @@
            reset();
        }
 -      if ((evalp = *evalvec) != '\0') {
-+      if (*(evalp = *evalvec) != '\0') {
++      if ((evalp = *evalvec) != NULL) {
            evalvec++;
            goto top;
        }

Reply via email to