From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: Open conformance issues & plans
Date: Tue, 18 Sep 2018 01:05:05 -0400 [thread overview]
Message-ID: <20180918050505.GU17995@brightrain.aerifal.cx> (raw)
In-Reply-To: <20180823204124.GM1878@brightrain.aerifal.cx>
Some updates on this:
On Thu, Aug 23, 2018 at 04:41:24PM -0400, Rich Felker wrote:
> 10. getdelim
>
> The text of the standard seems to allow malloc/realloc only when the
> buffer passed in is not already sufficiently large to hold the result.
> The current loop logic we use will force resizing one byte early in
> most cases, but can't be trivially changed not to do this without
> creating overflows in certain cases (depending on buffering). I will
> revisit this after the next release and refactor the loop, but it will
> need careful attention to ensure we don't introduce new
> bugs/overflows.
Fixed in commit 1f6cbdb434114139081fe65a9bafe775e9ab6c41.
> 14. abort
>
> The abort function needs to cause process termination as if by SIGABRT
> in the case where a SIGABRT handler was installed but returns. Linux
> provides no easy mechanism to do this, and we probably need to
> emulate it in userspace by preventing reinstallation of a SIGABRT
> handler after the first raise(SIGABRT) in abort() returns. I have an
> idea for a design but it's a fair bit of work, and I'll probably
> return to it after release.
Fixed in commit 9b14ad541068d4f7d0be9bcd1ff4c70090d868d3, included in
1.1.20.
Rich
next prev parent reply other threads:[~2018-09-18 5:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-23 20:41 Rich Felker
2018-08-30 4:27 ` Rich Felker
2018-09-18 5:05 ` Rich Felker [this message]
2018-10-15 14:32 ` 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=20180918050505.GU17995@brightrain.aerifal.cx \
--to=dalias@libc.org \
--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).