Why is cld used?

Ulrich Drepper drepper@redhat.com
Tue Jul 1 15:58:00 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andreas Schwab wrote:

> In which way is this different from any other ABI violation of the caller?

The difference is that the std isntruction can be maliciously added at
some completely other places without having any ill effects.  And then
some memory copying or some memory clearing (memset) will fail.
suddenly memory is copied to the wrong place, passwords are not erased
from memory, etc.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/Aa+M2ijCOnn/RHQRAp42AJ9Z+0ec52WMjZaccsvIGBEqn37aZgCgm/40
Fj1FEeSPRsvIuXypJV5Ms9I=
=iX/U
-----END PGP SIGNATURE-----



More information about the Libc-alpha mailing list