Alpha strncpy bug

Ulrich Drepper drepper@redhat.com
Mon Sep 9 17:32:00 GMT 2002


-----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.

- -- 
- ---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9fTyh2ijCOnn/RHQRAj+ZAJ4wuYBcnNWjCqtXdBFdPA+dVmrdTQCfdLr1
0+s3eybdBp28r+IvEI4oIYI=
=jf9t
-----END PGP SIGNATURE-----



More information about the Libc-alpha mailing list