rpms/unzip/FC-4 unzip-5.51-toctou.patch, 1.1, 1.2 unzip.spec, 1.26, 1.27
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Wed Aug 3 14:05:09 UTC 2005
Author: varekova
Update of /cvs/dist/rpms/unzip/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv16198
Modified Files:
unzip-5.51-toctou.patch unzip.spec
Log Message:
- fix typo
unzip-5.51-toctou.patch:
unix.c | 21 +++++++++++----------
1 files changed, 11 insertions(+), 10 deletions(-)
Index: unzip-5.51-toctou.patch
===================================================================
RCS file: /cvs/dist/rpms/unzip/FC-4/unzip-5.51-toctou.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- unzip-5.51-toctou.patch 3 Aug 2005 13:48:22 -0000 1.1
+++ unzip-5.51-toctou.patch 3 Aug 2005 14:04:59 -0000 1.2
@@ -11,7 +11,7 @@
+ ---------------------------------------------------------------------------*/
+
+#ifndef NO_CHMOD
-+ if (chmod(fileno(G.outfile), 0xffff & G.pInfo->file_attr))
++ if (fchmod(fileno(G.outfile), 0xffff & G.pInfo->file_attr))
+ perror("chmod (file attributes) error");
+#endif
+
Index: unzip.spec
===================================================================
RCS file: /cvs/dist/rpms/unzip/FC-4/unzip.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- unzip.spec 3 Aug 2005 13:48:22 -0000 1.26
+++ unzip.spec 3 Aug 2005 14:04:59 -0000 1.27
@@ -1,7 +1,7 @@
Summary: A utility for unpacking zip files.
Name: unzip
Version: 5.51
-Release: 11.fc4
+Release: 12.fc4
License: BSD
Group: Applications/Archiving
Source: ftp://ftp.info-zip.org/pub/infozip/src/unzip551.tar.gz
@@ -53,7 +53,7 @@
%{_mandir}/*/*
%changelog
-* Wed Aug 3 2005 Ivana Varekova <varekova at redhat.com> 5.51-11.fc4
+* Wed Aug 3 2005 Ivana Varekova <varekova at redhat.com> 5.51-12.fc4
- fix bug 164928 - TOCTOU issue in unzip
* Mon May 9 2005 Ivana Varekova <varekova at redhat.com> 5.51-11
More information about the fedora-cvs-commits
mailing list