mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: Re: Release schedule & tasks for 1.0
Date: Mon, 10 Mar 2014 12:53:49 -0400	[thread overview]
Message-ID: <20140310165349.GH184@brightrain.aerifal.cx> (raw)
In-Reply-To: <20140310095054.31d6769e@mt.lv>

On Mon, Mar 10, 2014 at 09:50:54AM +0000, juris wrote:
> On Mon, 10 Mar 2014 03:04:11 -0400
> Rich Felker <dalias@aerifal.cx> wrote:
> 
> > If anyone has outstanding bugs that can be fixed quickly and
> > non-invasively (low risk from making changes) please [re-]report them
> > in this thread.
> 
> Not exactly a bug fix, but does something like this qualify for 1.0 inclusion?
> Lifted it from http://article.gmane.org/gmane.linux.lib.musl.general/1255/ and prettied up a little.

No, it's well outside the scope of what should be done during feature
freeze. Aside from the namespace issues, the big concern is that
adding new nonstandard interfaces like this could cause programs to
start using them (via autoconf detection) and break things if the
implementation of the new function does not behave exactly as
expected.

Aside from the freeze issue, this is one function I'm hesitant to add
at all. Adding it is making a contract to preserve it permanently, and
that in turn puts constraints on the malloc implementation. Right now
it's practical to obtain the usable size of a chunk, but that doesn't
mean it would remain practical under all reasonable redesigns of the
internals.

This function has also historically been buggy in glibc (it reports as
usable parts of the region used for overflow/corruption detection,
then realloc/free later aborts when the application has used this
region). This was only fixed sometime in the last year or two, so
programs using it are probably already buggy on most deployed glibc
versions and should just be fixed...

Rich


  parent reply	other threads:[~2014-03-10 16:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-10  7:04 Rich Felker
2014-03-10  9:50 ` juris
2014-03-10 10:55   ` Szabolcs Nagy
2014-03-10 16:53   ` Rich Felker [this message]
2014-03-17 16:47 ` Christian Wiese
2014-03-17 19:03 ` Justin Cormack
2014-03-17 21:01   ` Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140310165349.GH184@brightrain.aerifal.cx \
    --to=dalias@aerifal.cx \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).