- 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.
|
||||
Name: tcsh
|
||||
Version: 6.14
|
||||
Release: 9.1
|
||||
Release: 10
|
||||
License: distributable
|
||||
Group: System Environment/Shells
|
||||
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
|
||||
Patch8: tcsh-6.14.00-colors.patch
|
||||
Patch9: tcsh-6.14.00-wide-seeks.patch
|
||||
Patch10: tcsh-6.14.00-spell-crash.patch
|
||||
Provides: csh = %{version}
|
||||
Prereq: fileutils, grep
|
||||
URL: http://www.tcsh.org/
|
||||
@ -43,6 +44,7 @@ like syntax.
|
||||
%patch7 -p1 -b .wide-crash
|
||||
%patch8 -p1 -b .colors
|
||||
%patch9 -p1 -b .wide-seeks
|
||||
%patch10 -p1 -b .spell-crash
|
||||
|
||||
%build
|
||||
%configure --without-hesiod
|
||||
@ -108,6 +110,9 @@ fi
|
||||
%{_mandir}/*/*
|
||||
|
||||
%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
|
||||
- rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user