Date: Tue, 18 Sep 2018 01:05:05 -0400 From: Rich Felker <dalias@...c.org> To: musl@...ts.openwall.com Subject: Re: Open conformance issues & plans 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
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.