Public bug reported:
I ran into some weird behaviour, and with the help of valgrind, tracked
it to a misuse of strcpy in the code which elides backslash-newline
sequences inside function calls.
The problem is that strcpy explicitly does not support being called with
a source and destination that overlap, but make does this. This didn't
cause a problem for me on Linux i386, but corrupted the command string
on Linux amd64 for me. I suspect that libc is able to use a wider block-
at-a-time primitive to implement strcpy on amd64 than i386.
This has so far affected only Mozilla software, to my knowledge. See the
bug in debian for more info.
** Affects: make
Importance: Unknown
Status: Unknown
** Affects: make-dfsg (Ubuntu)
Importance: Undecided
Status: New
** Affects: make-dfsg (Debian)
Importance: Unknown
Status: Unknown
** Bug watch added: Debian Bug tracker #568665
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568665
** Also affects: make-dfsg (Debian) via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568665
Importance: Unknown
Status: Unknown
--
make corrupts commands with latest eglibc (strcpy of overlapping strings)
https://bugs.launchpad.net/bugs/540764
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs