Re: Re: problem with strncpy
do you know whether sprintf of snprintf are safe to use.
David Mosberger <davidm> schrieb am 20.03.2003 19:31:
> >>>>> On Thu, 20 Mar 2003 14:09:04 +0100 (CET), Markus Bernhardt <Markus> 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.