vasprintf bugs
Eric Blake
ebb9@byu.net
Mon Mar 12 20:30:00 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Eric Blake on 3/12/2007 7:02 AM:
> I noticed these while trying to implement vasnprintf.
>
> 2007-03-12 Eric Blake <ebb9@byu.net>
>
> * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
> * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
> allocation to caller.
>
Resubmit - the integer-only and non-va_list variants were also affected.
2007-03-12 Eric Blake <ebb9@byu.net>
* libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
* libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
allocation to caller.
* libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
* libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
* libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF9VEQ84KuGfSFAYARAsVHAJ0Qe/yK+zb8QmolCqgSeIoiRUMgnwCgzhFQ
r2V3RD8iyirwvaJSTWEACdc=
=0PoL
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newlib.patch6
URL: <http://sourceware.org/pipermail/newlib/attachments/20070312/d8fb823a/attachment.ksh>
More information about the Newlib
mailing list