[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: glibc: printf bug
From: |
Ulrich Drepper |
Subject: |
Re: glibc: printf bug |
Date: |
Wed, 28 May 2003 09:24:21 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030523 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bruce Korb wrote:
> In this particular example, I was passing integers.
This doesn't matter. The format is still different and this can mean
the value is treated differently inside the function. To print a char
only the low byte is used, the rest can already be gone.
- --
- --------------. ,-. 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+1OK22ijCOnn/RHQRAjmZAJ0Ug6GQfsWIp8E0/lt6xSORHCpK2ACfbr62
bs/Espn3Jj8jWGH4QUA3V28=
=Q/Nd
-----END PGP SIGNATURE-----