- Fix an uninitialized variable causing stack corruption (#197968)
This commit is contained in:
parent
119189ce1b
commit
42d319dca1
12
tcsh-6.14.00-spell-crash.patch
Normal file
12
tcsh-6.14.00-spell-crash.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
--- tcsh-6.14.00/tw.parse.c.spell-crash 2006-08-16 19:10:16.000000000 +0200
|
||||||
|
+++ tcsh-6.14.00/tw.parse.c 2006-08-16 19:11:51.000000000 +0200
|
||||||
|
@@ -1668,7 +1668,8 @@
|
||||||
|
return (-1);
|
||||||
|
}
|
||||||
|
|
||||||
|
- numitems = tw_collect(command, looking, exp_dir, exp_name,
|
||||||
|
+ exp_name[0] = '\0';
|
||||||
|
+ numitems = tw_collect(command, looking, exp_dir, exp_name,
|
||||||
|
&target, pat, flags, dir_fd);
|
||||||
|
if (numitems == -1)
|
||||||
|
return -1;
|
@ -3,7 +3,7 @@
|
|||||||
Summary: An enhanced version of csh, the C shell.
|
Summary: An enhanced version of csh, the C shell.
|
||||||
Name: tcsh
|
Name: tcsh
|
||||||
Version: 6.14
|
Version: 6.14
|
||||||
Release: 9.1
|
Release: 10
|
||||||
License: distributable
|
License: distributable
|
||||||
Group: System Environment/Shells
|
Group: System Environment/Shells
|
||||||
Source: ftp://ftp.astron.com/pub/tcsh/tcsh-%{version}.00.tar.gz
|
Source: ftp://ftp.astron.com/pub/tcsh/tcsh-%{version}.00.tar.gz
|
||||||
@ -17,6 +17,7 @@ Patch6: tcsh-6.14.00-sigint.patch
|
|||||||
Patch7: tcsh-6.14.00-wide-crash.patch
|
Patch7: tcsh-6.14.00-wide-crash.patch
|
||||||
Patch8: tcsh-6.14.00-colors.patch
|
Patch8: tcsh-6.14.00-colors.patch
|
||||||
Patch9: tcsh-6.14.00-wide-seeks.patch
|
Patch9: tcsh-6.14.00-wide-seeks.patch
|
||||||
|
Patch10: tcsh-6.14.00-spell-crash.patch
|
||||||
Provides: csh = %{version}
|
Provides: csh = %{version}
|
||||||
Prereq: fileutils, grep
|
Prereq: fileutils, grep
|
||||||
URL: http://www.tcsh.org/
|
URL: http://www.tcsh.org/
|
||||||
@ -43,6 +44,7 @@ like syntax.
|
|||||||
%patch7 -p1 -b .wide-crash
|
%patch7 -p1 -b .wide-crash
|
||||||
%patch8 -p1 -b .colors
|
%patch8 -p1 -b .colors
|
||||||
%patch9 -p1 -b .wide-seeks
|
%patch9 -p1 -b .wide-seeks
|
||||||
|
%patch10 -p1 -b .spell-crash
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --without-hesiod
|
%configure --without-hesiod
|
||||||
@ -108,6 +110,9 @@ fi
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 16 2006 Miloslav Trmac <mitr@redhat.com> - 6.14-10
|
||||||
|
- Fix an uninitialized variable causing stack corruption (#197968)
|
||||||
|
|
||||||
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 6.14-9.1
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 6.14-9.1
|
||||||
- rebuild
|
- rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user