This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Alpha strncpy bug
On Mon, Sep 09, 2002 at 05:28:13PM -0700, Ulrich Drepper wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Daniel Jacobowitz wrote:
> >Well, this was an interesting exposure to Alpha assembly.... a bug was
> >reported to Debian where strncpy would read past the end of the page on
> >Alpha systems, in some circumstances. I tracked it down, and I extended
> >stratcliff.c to catch some more possible strncpy bugs.
>
> I've applied the test case patch. rth will have at least to comment on
> the asm change. And please include a ChangeLog entry in future.
Thanks. The testsuite is still missing a case, damned if I can figure
out what it is, and the asm change is wrong; rpcgen doesn't work with
the patch applied. My mistake.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer