glibc 2.3.1: sysdeps/i386/i486/bits/string.h: strspn has a bug

Ulrich Drepper drepper@redhat.com
Tue Jan 14 06:24:00 GMT 2003


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

Denis Zaitsev wrote:
> There is a bug in the inline __strspn_cg implementation: the function
> uses (clobbers) eax register, but this fact is not described to the
> compiler.  The patch below cures the situation.  Please, apply it.

I've added an appropriate patch now.  Thanks,

- -- 
- --------------.                        ,-.            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+I6sW2ijCOnn/RHQRAvGoAKDL8+mLJUFqu1jZak1d8rXQykE1fwCgx9qh
4s2GE9IiYotTr3xIPJcQ9s4=
=k6c+
-----END PGP SIGNATURE-----



More information about the Libc-alpha mailing list