This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: asprintf() issue
- From: Archie Cobbs <archie dot cobbs at gmail dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: "Carlos O'Donell" <carlos at redhat dot com>, Joseph Myers <joseph at codesourcery dot com>, libc-alpha at sourceware dot org, Michael Kerrisk-manpages <mtk dot manpages at gmail dot com>
- Date: Thu, 28 May 2015 18:39:44 -0500
- Subject: Re: asprintf() issue
- Authentication-results: sourceware.org; auth=none
- References: <CANSoFxt-cdc-+C4u-rTENMtY4X9RpRSuv+axDswSPxbDgag8_Q at mail dot gmail dot com> <55520F8F dot 9020308 at redhat dot com> <CANSoFxvac6_uBgwzWm5q6U+GcWzzKtDtDP0BVvE4eL08zXHs5Q at mail dot gmail dot com> <5552183C dot 2070809 at redhat dot com> <CANSoFxv7uO2Niq+wVKsC9xoDYuNgqHFxJnLrkgNqfKpFwzde=Q at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1505131601320 dot 30846 at digraph dot polyomino dot org dot uk> <555385F4 dot 5000409 at redhat dot com> <alpine dot DEB dot 2 dot 10 dot 1505131722190 dot 30846 at digraph dot polyomino dot org dot uk> <555432DE dot 1020608 at redhat dot com> <5559C31D dot 5070400 at redhat dot com> <555C0DDF dot 1090408 at redhat dot com> <555C29E7 dot 8090403 at redhat dot com>
On Wed, May 20, 2015 at 1:29 AM, Florian Weimer <fweimer@redhat.com> wrote:
>> I think we should do the following:
>>
>> (a) Rewrite the man page to say we set the pointer to NULL on error.
>> Document that this behaviour changed in glibc 2.22.
>>
>> (b) Add a versioned function to support old binaries, and have the
>> new implementation set the pointer to NULL on error.
>>
>> Then we're done and move on to the next problem.
>
> If that's the emerging consensus, it's something with which I can agree.
What are the next steps on this asprintf() issue?
I'd like to get it resolved, though unfortunately I'm not familiar
enough to implement (b) myself.
Thanks,
-Archie
--
Archie L. Cobbs