Re: problem with strncpy
At Fri, 21 Mar 2003 22:48:14 -0800,
David Mosberger wrote:
> >>>>> On Sat, 22 Mar 2003 14:03:00 +0900, GOTO Masanori <email@example.com> said:
> Goto> At Thu, 20 Mar 2003 10:31:02 -0800, David Mosberger wrote:
> >> >>>>> 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.
> Goto> glibc 2.3.1-15 is based on 2002-12-02 cvs so I think it
> Goto> includes your changes.
> I think it may be missing the most recent fixes, then. Here are the
> most recent changes to the file:
Hmm, thanks. Debian's version is old. We fix it in glibc 2.3.2-1
which is available after 2.3.1-16 sooner or later.