jcapik pushed to unzip (master). "fix incorrect output data due to memcpy() overlap"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Jun 15 15:44:20 UTC 2015


From e677faaf23bb6475348311ec4ec8f1db09a07754 Mon Sep 17 00:00:00 2001
From: Petr Stodulka <pstodulk at redhat.com>
Date: Thu, 6 Nov 2014 22:28:46 +0100
Subject: fix incorrect output data due to memcpy() overlap


diff --git a/unzip.spec b/unzip.spec
index c5eaad4..0e037e8 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 -DNOMEMCPY $RPM_OPT_FLAGS" 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-16
+- Fix producing of incorrect output due to memcpy overlapping
+  by added option -D NOMEMCPY to compile section.
+  (#1161302)
+
 * 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=master&id=e677faaf23bb6475348311ec4ec8f1db09a07754


More information about the scm-commits mailing list