[Bug 810739] Re: strcpy output incorrect if src and dst overlap

2013-10-28 Thread Elango
Any update on this bug.

I have a native application working fine in Ubuntu 10.04 but failing in
Ubuntu 12.04 due to overlapping memory passed to strcpy. Kindly let me
know how I can fix/patch strcpy implementationn.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/810739

Title:
  strcpy output incorrect if src and dst overlap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/810739/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 810739] Re: strcpy output incorrect if src and dst overlap

2013-10-28 Thread Dmitrijs Ledkovs
@elango-go

you may fetch an older glibc and preload it before launching your
affected application.

Alternatively, maybe it should be considered to provide a wrapper script
that preloads old variant off strcpy.

Doko, 18 months is long enough... if the software in question is at all
developed/updated still...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/810739

Title:
  strcpy output incorrect if src and dst overlap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/810739/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 810739] Re: strcpy output incorrect if src and dst overlap

2013-10-28 Thread Elango
Thanks Dmitrijis. Can you help me/provide pointers how I can preload an
older glibc.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/810739

Title:
  strcpy output incorrect if src and dst overlap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/810739/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 810739] Re: strcpy output incorrect if src and dst overlap

2013-10-28 Thread Elango
I have preloaded the strcpy implementation from glibc version 2.18 and solves 
the overlap string copy issues.
Thanks Dmitrijs Ledkovs.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/810739

Title:
  strcpy output incorrect if src and dst overlap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/810739/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 810739] Re: strcpy output incorrect if src and dst overlap

2012-11-10 Thread Distro-jumper
Any news on this?? I can confirm the behavior on precise as well,
version 2.15-0ubuntu10.3.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/810739

Title:
  strcpy output incorrect if src and dst overlap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/810739/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 810739] Re: strcpy output incorrect if src and dst overlap

2012-11-10 Thread Distro-jumper
It appears that this has been reverted by Red Hat to the old behavior:
https://bugzilla.redhat.com/show_bug.cgi?id=781646
http://rhn.redhat.com/errata/RHBA-2012-0763.html

Is Ubuntu going to provide a regression to the old behavior??

** Bug watch added: Red Hat Bugzilla #781646
   https://bugzilla.redhat.com/show_bug.cgi?id=781646

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/810739

Title:
  strcpy output incorrect if src and dst overlap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/810739/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 810739] Re: strcpy output incorrect if src and dst overlap

2012-11-10 Thread Distro-jumper
** Changed in: eglibc (Ubuntu)
   Status: Invalid = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/810739

Title:
  strcpy output incorrect if src and dst overlap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/810739/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 810739] Re: strcpy output incorrect if src and dst overlap

2012-10-07 Thread Rico Zoss
I can still confim this bug in precise. My version of libc-bin is
2.15-0ubuntu10.2.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/810739

Title:
  strcpy output incorrect if src and dst overlap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/810739/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 810739] Re: strcpy output incorrect if src and dst overlap

2012-10-07 Thread Matthias Klose
strcpy(3):

DESCRIPTION
   [...] The strings may not overlap, and  the  destination  string
   dest must be large enough to receive the copy.

18 months should be sufficient to even fix a commercial application.


** Changed in: eglibc (Ubuntu)
   Status: Confirmed = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/810739

Title:
  strcpy output incorrect if src and dst overlap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/810739/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 810739] Re: strcpy output incorrect if src and dst overlap

2012-10-07 Thread Vadim Gutnik
Invalid? First, the application has not fixed it. They don't support
every kernel as it comes out, so I have a choice between running Ubuntu
or running my primary work application.

Second, not everyone (see the link the original report) sees this as a
bug in the application. A strong argument can be made that this is a bug
in the kernel, and that there is no actual performance benefit to the
change.

The fact that this regression is documented doesn't make it a feature.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/810739

Title:
  strcpy output incorrect if src and dst overlap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/810739/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 810739] Re: strcpy output incorrect if src and dst overlap

2012-10-06 Thread Adam Conrad
Does this bug still affect precise?  If it's the sse3 memcpy bug, it
should have been fixed in git before 2.15 was cut, so precise and
quantal should be fine.  Can anyone confirm?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/810739

Title:
  strcpy output incorrect if src and dst overlap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/810739/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 810739] Re: strcpy output incorrect if src and dst overlap

2012-05-04 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: eglibc (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/810739

Title:
  strcpy output incorrect if src and dst overlap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/810739/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 810739] Re: strcpy output incorrect if src and dst overlap

2012-05-04 Thread Rico Zoss
I can confirm this Problem using a old version of gcc for cross
compiling.:

ppc_8xx-gcc (GCC) 4.2.2
Copyright (C) 2007 Free Software Foundation, Inc.

The problem is the parsing of the include paths:

Output of strace:
15791 
stat64(/opt/eldk_4.2/ppsr/libusr/lib/gcc/powerpc-linux//includude/c++/4./c++/4.2.2/powerpc-linux,
 0xffc9eb00) = -1 ENOENT (No such file or directory)
15791 
stat64(/opt/eldk_4.2/ppsr/libusr/lib/gcc/powerpc-linux//includude/c++/4./c++/4.2.2/backward,
 0xffc9eb00) = -1 ENOENT (No such file or directory)

As you can see the path was mixed up and therefore the include files
could not be found.

Output of ltrace:
15801 strchr(/opt/eldk_4.2/usr/../ppc_8xx/usr..., '/')
 = /opt/eldk_4.2/usr/../ppc_8xx/usr...
15801 strchr(opt/eldk_4.2/usr/../ppc_8xx/usr/..., '/')
 = /eldk_4.2/usr/../ppc_8xx/usr/lib...
15801 strchr(eldk_4.2/usr/../ppc_8xx/usr/lib/..., '/')
 = /usr/../ppc_8xx/usr/lib/gcc/powe...
15801 strchr(usr/../ppc_8xx/usr/lib/gcc/power..., '/')
 = /../ppc_8xx/usr/lib/gcc/powerpc-...
15801 strcpy(0x092d87cd, /ppc_8xx/usr/lib/gcc/powerpc-lin...) 
 = 0x092d87cd
15801 strchr(/ppsr/libusr/lib/gcc/powerpc-lin..., '/')
 = /ppsr/libusr/lib/gcc/powerpc-lin...
15801 strchr(ppsr/libusr/lib/gcc/powerpc-linu..., '/')
 = /libusr/lib/gcc/powerpc-linux/./...
15801 strchr(libusr/lib/gcc/powerpc-linux/./, '/')
 = /lib/gcc/powerpc-linux/./../../
15801 strchr(lib/gcc/powerpc-linux/./../../., '/')
 = /gcc/powerpc-linux/./../../../in...
15801 strchr(gcc/powerpc-linux/./../../../inc..., '/')
 = /powerpc-linux/./../../../includ...
15801 strchr(powerpc-linux/./../../../include..., '/')
 = /./../../../include/c++/4./c++/4...
15801 strcpy(0x092d87ef, /../../../include/c++/4./c++/4.2...) 
 = 0x092d87ef
15801 strchr(../../includude/c++/4./c++/4.2.2..., '/')
 = /../includude/c++/4./c++/4.2.2/p...
15801 strcpy(0x092d87f0, /includude/c++/4./c++/4.2.2/powe...) 
 = 0x092d87f0
15801 strchr(/includude/c++/4./c++/4.2.2/powe..., '/')
 = /includude/c++/4./c++/4.2.2/powe...
15801 strchr(includude/c++/4./c++/4.2.2/power..., '/')
 = /c++/4./c++/4.2.2/powerpc-linux
15801 strchr(c++/4./c++/4.2.2/powerpc-linux, '/') 
 = /4./c++/4.2.2/powerpc-linux
15801 strchr(4./c++/4.2.2/powerpc-linux, '/') 
 = /c++/4.2.2/powerpc-linux
15801 strchr(c++/4.2.2/powerpc-linux, '/')
 = /4.2.2/powerpc-linux
15801 strchr(4.2.2/powerpc-linux, '/')
 = /powerpc-linux
15801 strchr(powerpc-linux, '/')  
 = NULL

Its obvious that the function strcpy is the source of the problem. The
solution in the comment above solve the problem.

Until today we use natty to compile for ppc. This bug is now popped up
while migrating to precise. That means that this bug does not contain
libc6 (2.13-0ubuntu13.1).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/810739

Title:
  strcpy output incorrect if src and dst overlap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/810739/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 810739] Re: strcpy output incorrect if src and dst overlap

2011-07-14 Thread Vadim Gutnik
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/810739

Title:
  strcpy output incorrect if src and dst overlap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/810739/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs