This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: asprintf() issue


On Mon, 18 May 2015, Archie Cobbs wrote:

> On Mon, May 18, 2015 at 5:46 AM, Florian Weimer <fweimer@redhat.com> wrote:
> > > IMO we should be conservative and do (c), and document in NEWS, Release wiki
> > > page, and hopefully the manual.
> >
> > I don't think this is worth the cost.  (Even such little changes add up
> > and eventually impact linking time and code size.)  It does not even fix
> > a bug, and application code can easily set *ptr to NULL before calling
> > asprintf, to get uniform behavior across all known implementations (if
> > that simplifies application code).
> 
> This makes sense to me as well. What about this then:

Even if you don't do (c) old symbol version behaves as now, are you sure 
about doing (a) no new symbol version, rather than (b) new symbol version, 
both are aliases, so new binaries won't run with old glibc?

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]