[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem with strncpy



>>>>> On Thu, 20 Mar 2003 14:09:04 +0100 (CET), Markus Bernhardt <Markus.Bernhardt@scmb.de> said:

  Markus> Problem: This function is called many times in our
  Markus> software. After processing some gigabytes of data the
  Markus> strncpy fails reproducable exactly one time. All following
  Markus> calls are working.  Whats wrong?  It looks to me strncpy
  Markus> starts 8 bytes after the source adress to copy data.

Make sure you have the latest version of the ia64 strncpy() routine.
There was a page-boundary crossing bug until recently.  The glibc CVS
has this fixed.  Not sure about Debian glibc.

	--david



Reply to: