From: "A. Wilcox" <awilfox@adelielinux.org>
To: musl@lists.openwall.com
Subject: Re: C Annex K safe C functions
Date: Mon, 4 Mar 2019 00:40:37 -0600 [thread overview]
Message-ID: <bd2ba889-315b-5d73-f91f-ffaad6b12e68@adelielinux.org> (raw)
In-Reply-To: <fe0cc4d2-aa67-b2b5-d4e9-62f5683efc66@jguk.org>
[-- Attachment #1.1: Type: text/plain, Size: 873 bytes --]
On 03/03/19 22:24, Jonny Grant wrote:
> Could I ask, does your libc follow POSIX spec to the letter? eg not
> checking pointers for NULL (where spec omits to mention checking
> pointers valid) ?
2.1.1 Use and Implementation of Functions
1. If an argument to a function has an invalid value (such as a value
outside the domain of the function, or a pointer outside the address
space of the program, or a null pointer), the behavior is undefined.
The spec never omits checking the validity of pointers unless actually
specified. In this way, musl is definitely conformant.
There are some non-conformant bits of musl, though some of these may be
solved since the last test (which was musl 1.1.19):
https://wiki.adelielinux.org/wiki/POSIX
Best,
--arw
--
A. Wilcox (awilfox)
Project Lead, Adélie Linux
https://www.adelielinux.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2019-03-04 6:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-27 3:30 Jonny Grant
2019-02-27 10:50 ` Szabolcs Nagy
2019-03-04 4:24 ` Jonny Grant
2019-03-04 6:40 ` A. Wilcox [this message]
2019-03-04 15:14 ` Rich Felker
2019-02-27 13:11 ` Rich Felker
2019-02-27 16:34 ` Rich Felker
2019-03-04 8:09 ` Florian Weimer
2019-03-05 13:19 ` Szabolcs Nagy
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=bd2ba889-315b-5d73-f91f-ffaad6b12e68@adelielinux.org \
--to=awilfox@adelielinux.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).