Version in base suite: 20110502-4 Base version: csh_20110502-4 Target version: csh_20110502-4+deb10u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/c/csh/csh_20110502-4.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/c/csh/csh_20110502-4+deb10u1.dsc changelog | 10 ++++++++++ patches/pointer_deref_comparison.patch | 9 +++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff -Nru csh-20110502/debian/changelog csh-20110502/debian/changelog --- csh-20110502/debian/changelog 2018-09-10 11:49:15.000000000 +0000 +++ csh-20110502/debian/changelog 2020-01-13 23:41:48.000000000 +0000 @@ -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 Tue, 14 Jan 2020 00:41:48 +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 09:46:44.000000000 +0000 +++ csh-20110502/debian/patches/pointer_deref_comparison.patch 2020-01-13 23:41:48.000000000 +0000 @@ -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; }