[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Buffer overflow in cp and mv commands
From: |
Philip Rowlands |
Subject: |
Re: Buffer overflow in cp and mv commands |
Date: |
Mon, 13 Jun 2005 10:33:04 +0100 (BST) |
On Mon, 13 Jun 2005, Paul Eggert wrote:
>Gregory Butenko <address@hidden> writes:
>
>> Thanks, guys, for quick response.
>> I have found the solution at https://bugs.gentoo.org/show_bug.cgi?id=86857
>
>That URL doesn't work for me right now; I can't connect (though I can
>connect to gentoo.org). Perhaps you can summarize the solution?
The relevent comments from that thread seem to be:
> Additional Comment #5 From address@hidden 2005-06-11 18:34 PDT
>
> We got the ppc and are able to test now.
> The cp failure is caused by when -fno-strict-aliasing is enabled with
> -pie. This shows with coreutils and sed atleast.
and the patch inline below.
Cheers,
Phil
--- /dev/null2005-06-12 01:57:47.133529760 +0000
+++ coreutils-5.2.1-r6.ebuild2005-06-12 01:54:21.218833552 +0000
@@ -76,6 +76,8 @@
export AUTOPOINT="/bin/true"
fi
+use ppc && has_pie && filter-flags -fno-strict-aliasing
+
ebegin "Reconfiguring configure scripts (be patient)"
export WANT_AUTOMAKE=1.8
export WANT_AUTOCONF=2.5
Re: Buffer overflow in cp and mv commands, Jim Meyering, 2005/06/12