This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why is cld used?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]