|
|
Message-ID: <20210126024422.GZ23432@brightrain.aerifal.cx>
Date: Mon, 25 Jan 2021 21:44:25 -0500
From: Rich Felker <dalias@...c.org>
To: "zhuyan (M)" <zhuyan34@...wei.com>
Cc: "musl@...ts.openwall.com" <musl@...ts.openwall.com>,
Zengweilin <zengweilin@...wei.com>,
"liucheng (G)" <liucheng32@...wei.com>,
"chenzefeng (A)" <chenzefeng2@...wei.com>
Subject: Re: [PATCH] fix segfault in recvmsg when msg argument is NULL
On Tue, Jan 12, 2021 at 07:58:26AM +0000, zhuyan (M) wrote:
>
> When msg is NULL, msg->msg_controllen exists to dereference a null pointer in recvmsg.
"The recvmsg() function takes the following arguments:
...
message
Points to a msghdr structure, ..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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.