From e677faaf23bb6475348311ec4ec8f1db09a07754 Mon Sep 17 00:00:00 2001 From: Petr Stodulka Date: Thu, 6 Nov 2014 22:28:46 +0100 Subject: [PATCH] fix incorrect output data due to memcpy() overlap --- unzip.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 - 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 - 6.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild