jcapik pushed to unzip (f21). "fix memcpy() overlap - #1153388"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Jun 15 15:45:01 UTC 2015


From 23ebc162f6478a315d94c28540232a6617f0acbe Mon Sep 17 00:00:00 2001
From: Petr Stodulka <pstodulk at redhat.com>
Date: Thu, 6 Nov 2014 21:57:19 +0100
Subject: fix memcpy() overlap - #1153388


diff --git a/unzip.spec b/unzip.spec
index c5eaad4..4115ae6 100644
--- a/unzip.spec
+++ b/unzip.spec
@@ -1,7 +1,7 @@
 Summary: A utility for unpacking zip files
 Name: unzip
 Version: 6.0
-Release: 15%{?dist}
+Release: 16%{?dist}
 License: BSD
 Group: Applications/Archiving
 Source: http://downloads.sourceforge.net/infozip/unzip60.tar.gz
@@ -57,7 +57,7 @@ a zip archive.
 %patch10 -p1 -b .format-secure
 
 %build
-make -f unix/Makefile CF_NOOPT="-I. -DUNIX $RPM_OPT_FLAGS" generic_gcc %{?_smp_mflags}
+make -f unix/Makefile CF_NOOPT="-I. -DUNIX $RPM_OPT_FLAGS -DNOMEMCPY" generic_gcc %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -70,6 +70,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-15
+- Fix producing of incorrect output due to memcpy overlapping
+  by added option -D NOMEMCPY to compile section.
+  (#1153388)
+
 * Mon Aug 18 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 6.0-15
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/unzip.git/commit/?h=f21&id=23ebc162f6478a315d94c28540232a6617f0acbe


More information about the scm-commits mailing list