Re: [despammed] Re: Buffer overflow in cp and mv commands

2005-06-13 Thread Gregory Butenko
In fact it is not adding but rather deleting (filtering out) -fno-strict-aliasing flag. There is no explanation but it works :) . I use gcc 3.4.1 with CFLAGS="-O2 -fPIC -mtune=powerpc -fno-strict-aliasing -pipe -Wl,-z,now". The problen is fixed after -fno-strict-aliasing flag has been filtred ou

Re: Buffer overflow in cp and mv commands

2005-06-13 Thread Jim Meyering
Paul Eggert <[EMAIL PROTECTED]> wrote: > Philip Rowlands <[EMAIL PROTECTED]> writes: >> +use ppc && has_pie && filter-flags -fno-strict-aliasing > > That bug report is pretty vague. It's not clear to me that this is > due to a buffer overflow problem. It could just be a compiler bug, > for exampl

Re: Buffer overflow in cp and mv commands

2005-06-13 Thread Paul Eggert
Philip Rowlands <[EMAIL PROTECTED]> writes: > +use ppc && has_pie && filter-flags -fno-strict-aliasing That bug report is pretty vague. It's not clear to me that this is due to a buffer overflow problem. It could just be a compiler bug, for example. Or it could be something else. I don't offh

Re: Buffer overflow in cp and mv commands

2005-06-13 Thread Philip Rowlands
On Mon, 13 Jun 2005, Paul Eggert wrote: >Gregory Butenko <[EMAIL PROTECTED]> 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)

Re: Buffer overflow in cp and mv commands

2005-06-13 Thread Paul Eggert
Gregory Butenko <[EMAIL PROTECTED]> 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? ___

Re: Buffer overflow in cp and mv commands

2005-06-12 Thread Gregory Butenko
Thanks, guys, for quick response. I have found the solution at https://bugs.gentoo.org/show_bug.cgi?id=86857 ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: Buffer overflow in cp and mv commands

2005-06-12 Thread Jim Meyering
Gregory Butenko <[EMAIL PROTECTED]> wrote: > I have compiled coreutils with hardened gcc and now the following > messages pop up when subtrees copied or moved: >mv: stack smashing attack in function copy_internal() > or >cp: stack smashing attack in function copy_intern

Re: Buffer overflow in cp and mv commands

2005-06-12 Thread James Youngman
On Sat, Jun 11, 2005 at 09:41:20PM -0400, Gregory Butenko wrote: > I have compiled coreutils with hardened gcc and now the following > messages pop up when subtrees copied or moved: >mv: stack smashing attack in function copy_internal() > or >cp: stack smashing attack

Buffer overflow in cp and mv commands

2005-06-12 Thread Gregory Butenko
Hi, I have compiled coreutils with hardened gcc and now the following messages pop up when subtrees copied or moved: mv: stack smashing attack in function copy_internal() or cp: stack smashing attack in function copy_internal() That is a good sign of a buffer overflow