mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <>
To: puwenxu <>
Cc: "" <>
Subject: Re: [musl] Question on 2b2c8aafce9d80f9d58652643538f4d58e82b856
Date: Mon, 31 Oct 2022 13:25:39 -0400	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

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.


  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:

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

  git send-email \ \ \ \ \

* 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

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).