rpms/tcsh/FC-5 tcsh-6.14.00-spell-crash.patch, NONE, 1.1 tcsh.spec, 1.39, 1.40

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Aug 17 15:09:58 UTC 2006


Author: mitr

Update of /cvs/dist/rpms/tcsh/FC-5
In directory cvs.devel.redhat.com:/tmp/cvs-serv8568

Modified Files:
	tcsh.spec 
Added Files:
	tcsh-6.14.00-spell-crash.patch 
Log Message:
* Thu Aug 17 2006 Miloslav Trmac <mitr at redhat.com> - 6.14-6.fc5.3
- Fix an uninitialized variable causing stack corruption (#197968)


tcsh-6.14.00-spell-crash.patch:
 tw.parse.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

--- NEW FILE tcsh-6.14.00-spell-crash.patch ---
--- 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;


Index: tcsh.spec
===================================================================
RCS file: /cvs/dist/rpms/tcsh/FC-5/tcsh.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- tcsh.spec	10 Jul 2006 20:59:21 -0000	1.39
+++ tcsh.spec	17 Aug 2006 15:09:56 -0000	1.40
@@ -3,7 +3,7 @@
 Summary: An enhanced version of csh, the C shell.
 Name: tcsh
 Version: 6.14
-Release: 6.fc5.2
+Release: 6.fc5.3
 License: distributable
 Group: System Environment/Shells
 Source: ftp://ftp.astron.com/pub/tcsh/tcsh-%{version}.00.tar.gz
@@ -16,6 +16,7 @@
 Patch6: tcsh-6.14.00-sigint.patch
 Patch7: tcsh-6.14.00-wide-crash.patch
 Patch8: tcsh-6.14.00-wide-seeks.patch
+Patch9: tcsh-6.14.00-spell-crash.patch
 Provides: csh = %{version}
 Prereq: fileutils, grep
 URL: http://www.tcsh.org/
@@ -41,6 +42,7 @@
 %patch6 -p1 -b .sigint
 %patch7 -p1 -b .wide-crash
 %patch8 -p1 -b .wide-seeks
+%patch9 -p1 -b .spell-crash
 
 nroff -me eight-bit.me > eight-bit.txt
 
@@ -108,6 +110,9 @@
 %{_mandir}/*/*
 
 %changelog
+* Thu Aug 17 2006 Miloslav Trmac <mitr at redhat.com> - 6.14-6.fc5.3
+- Fix an uninitialized variable causing stack corruption (#197968)
+
 * Mon Jul 10 2006 Miloslav Trmac <mitr at redhat.com> - 6.14-6.fc5.2
 - Fix seeking over multibyte characters (#195972)
 




More information about the fedora-cvs-commits mailing list