rpms/coreutils/devel coreutils-6.10-md5sha1sum.patch, 1.1, 1.2 coreutils.spec, 1.207, 1.208
Ondrej Vasik (ovasik)
fedora-extras-commits at redhat.com
Fri Apr 18 16:58:45 UTC 2008
- Previous message (by thread): rpms/perl-File-LibMagic/devel perl-File-LibMagic.spec, NONE, 1.1 tests-0.85.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/kde-settings/devel .cvsignore, 1.33, 1.34 kde-settings.spec, 1.46, 1.47 sources, 1.32, 1.33
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ovasik
Update of /cvs/extras/rpms/coreutils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29397
Modified Files:
coreutils-6.10-md5sha1sum.patch coreutils.spec
Log Message:
fix wrong line handling in sha1sum -c command
coreutils-6.10-md5sha1sum.patch:
Index: coreutils-6.10-md5sha1sum.patch
===================================================================
RCS file: /cvs/extras/rpms/coreutils/devel/coreutils-6.10-md5sha1sum.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- coreutils-6.10-md5sha1sum.patch 15 Apr 2008 19:38:04 -0000 1.1
+++ coreutils-6.10-md5sha1sum.patch 18 Apr 2008 16:58:39 -0000 1.2
@@ -11,6 +11,18 @@
*file_name = s;
/* Find end of filename. The BSD 'md5' and 'sha1' commands do not escape
+diff -urNp coreutils-6.10-orig/src/md5sum.c coreutils-6.10/src/md5sum.c
+--- coreutils-6.10-orig/src/md5sum.c 2008-04-18 17:40:03.000000000 +0200
++++ coreutils-6.10/src/md5sum.c 2008-04-18 17:48:05.000000000 +0200
+@@ -346,6 +346,8 @@ split_3 (char *s, size_t s_len,
+ static bool
+ hex_digits (unsigned char const *s)
+ {
++ if (!*s)
++ return false;
+ while (*s)
+ {
+ if (!isxdigit (*s))
diff -urNp coreutils-6.10-orig/tests/misc/sha1sum coreutils-6.10/tests/misc/sha1sum
--- coreutils-6.10-orig/tests/misc/sha1sum 2007-12-13 00:14:28.000000000 +0100
+++ coreutils-6.10/tests/misc/sha1sum 2008-04-15 21:05:43.000000000 +0200
Index: coreutils.spec
===================================================================
RCS file: /cvs/extras/rpms/coreutils/devel/coreutils.spec,v
retrieving revision 1.207
retrieving revision 1.208
diff -u -r1.207 -r1.208
--- coreutils.spec 15 Apr 2008 19:38:04 -0000 1.207
+++ coreutils.spec 18 Apr 2008 16:58:39 -0000 1.208
@@ -1,7 +1,7 @@
Summary: The GNU core utilities: a set of tools commonly used in shell scripts
Name: coreutils
Version: 6.10
-Release: 20%{?dist}
+Release: 21%{?dist}
License: GPLv3+
Group: System Environment/Base
Url: http://www.gnu.org/software/coreutils/
@@ -314,6 +314,10 @@
/sbin/runuser
%changelog
+* Fri Apr 18 2008 Ondrej Vasik <ovasik at redhat.com> - 6.10-21
+- fix wrong checksum line handling in sha1sum -c
+ command(#439531)
+
* Tue Apr 15 2008 Ondrej Vasik <ovasik at redhat.com> - 6.10-20
- fix possible segfault in sha1sum/md5sum command
- Previous message (by thread): rpms/perl-File-LibMagic/devel perl-File-LibMagic.spec, NONE, 1.1 tests-0.85.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/kde-settings/devel .cvsignore, 1.33, 1.34 kde-settings.spec, 1.46, 1.47 sources, 1.32, 1.33
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list