Date: Mon, 31 Oct 2022 13:25:39 -0400 From: Rich Felker <dalias@...c.org> To: puwenxu <puwenxu1@...wei.com> Cc: "musl@...ts.openwall.com" <musl@...ts.openwall.com> Subject: Re: Question on 2b2c8aafce9d80f9d58652643538f4d58e82b856 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
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.