[unzip/f20] fix memcpy overlap - bz#1153388

pstodulk pstodulk at fedoraproject.org
Thu Nov 6 21:11:47 UTC 2014


commit 4ffc8feda38fff317b285e3f122baba912834082
Author: Petr Stodulka <pstodulk at redhat.com>
Date:   Thu Nov 6 22:11:05 2014 +0100

    fix memcpy overlap - bz#1153388

 unzip.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/unzip.spec b/unzip.spec
index 8890285..707e50b 100644
--- a/unzip.spec
+++ b/unzip.spec
@@ -1,7 +1,7 @@
 Summary: A utility for unpacking zip files
 Name: unzip
 Version: 6.0
-Release: 12%{?dist}
+Release: 13%{?dist}
 License: BSD
 Group: Applications/Archiving
 Source: http://downloads.sourceforge.net/infozip/unzip60.tar.gz
@@ -50,7 +50,7 @@ a zip archive.
 %patch8 -p1 -b .symlink
 
 %build
-make -f unix/Makefile CF_NOOPT="-I. -DUNIX $RPM_OPT_FLAGS" generic_gcc %{?_smp_mflags}
+make -f unix/Makefile CF_NOOPT="-I. -DUNIX -DNOMEMCPY $RPM_OPT_FLAGS" generic_gcc %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -63,6 +63,11 @@ make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} MANDIR=$RPM_BUILD_ROOT/%{
 %{_mandir}/*/*
 
 %changelog
+* Thu Nov 06 2014 Petr Stodulka <pstodulk at redhat.com> - 6.0-13
+- Fix producing of incorrect output due to memcpy overlapping
+  by added option -D NOMEMCPY to compile section.
+    (#1153388)
+
 * Mon Oct 21 2013 Petr Stodulka <pstodulk at redhat.com> - 6.0.-12
 - Solve problem with symlink errors in archive with many files
   (#740012,#972427)


More information about the scm-commits mailing list