This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix crypt snprintf namespace (bug 20829)
- From: Florian Weimer <fweimer at redhat dot com>
- To: Joseph Myers <joseph at codesourcery dot com>, libc-alpha at sourceware dot org
- Date: Wed, 16 Nov 2016 20:42:29 +0100
- Subject: Re: Fix crypt snprintf namespace (bug 20829)
- Authentication-results: sourceware.org; auth=none
- References: <alpine.DEB.2.20.1611161904590.26593@digraph.polyomino.org.uk>
On 11/16/2016 08:05 PM, Joseph Myers wrote:
[BZ #20829]
* stdio-common/Versions (__snprintf): Add to version
GLIBC_PRIVATE.
* include/stdio.h (__snprintf): Use libc_hidden_proto.
* stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
* crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
of snprintf.
* crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
Looks good to me. Thanks.
Florian