From: Rich Felker <dalias@libc.org>
To: puwenxu <puwenxu1@huawei.com>
Cc: "musl@lists.openwall.com" <musl@lists.openwall.com>
Subject: Re: [musl] Question on 2b2c8aafce9d80f9d58652643538f4d58e82b856
Date: Mon, 31 Oct 2022 13:25:39 -0400 [thread overview]
Message-ID: <20221031172538.GC29905@brightrain.aerifal.cx> (raw)
In-Reply-To: <27eb36689b5f470da01e1adbf99fad01@huawei.com>
On Mon, Oct 31, 2022 at 03:41:43PM +0000, puwenxu wrote:
> Dear maintainer,
> I'm sorry for my last question firstly.
> I'm not sure whether I have right to show you full test codes
> because the discipline of my company is strict at it. The error
> occurs when the test case is running the following code.
> err = msgctl(msqid, IPC_STAT, NULL);
This is an erroneous test case. The contract of msgctl with the
IPC_STAT command is that the buf pointer must point to an object of
type struct msqid_ds. NULL does not point to such an object.
Rich
next prev parent reply other threads:[~2022-10-31 17:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-31 15:41 puwenxu
2022-10-31 17:25 ` Rich Felker [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-10-30 6:29 puwenxu
2022-10-30 13:11 ` Sam James
2022-10-30 14:31 ` Rich Felker
2022-10-30 17:11 ` Markus Wichmann
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=20221031172538.GC29905@brightrain.aerifal.cx \
--to=dalias@libc.org \
--cc=musl@lists.openwall.com \
--cc=puwenxu1@huawei.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).