From 77684fd64f76ce5ef663481d2ec576ccedbb3dd8 Mon Sep 17 00:00:00 2001 From: Petr Stodulka Date: Nov 06 2014 21:57:38 +0000 Subject: fix memcpy() overlap (#1161325) --- diff --git a/unzip.spec b/unzip.spec index aa752ab..ddd5f2b 100644 --- a/unzip.spec +++ b/unzip.spec @@ -1,7 +1,7 @@ Summary: A utility for unpacking zip files Name: unzip Version: 6.0 -Release: 11%{?dist} +Release: 12%{?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 - 6.0-12 +- Fix producing of incorrect output due to memcpy overlapping + by added option -D NOMEMCPY to compile section. + (#1161325) + * Mon Oct 21 2013 Petr Stodulka - 6.0-11 - Solve problem with symlink errors in archive with many files (#740012,#972427)