From: Johannes Berg <johannes@sipsolutions.net>
To: Dmitry Antipov <dmantipov@yandex.ru>
Cc: Kees Cook <kees@kernel.org>,
"Gustavo A . R . Silva" <gustavoars@kernel.org>,
linux-hardening@vger.kernel.org, linux-wireless@vger.kernel.org
Subject: Re: [PATCH 1/2] wifi: cfg80211: annotate struct cfg80211_mgmt_registration with __counted_by()
Date: Tue, 10 Dec 2024 17:42:36 +0100 [thread overview]
Message-ID: <cded5fe5b061e76e00473d0bf40c58b90659d3a1.camel@sipsolutions.net> (raw)
In-Reply-To: <20241210143951.5685-1-dmantipov@yandex.ru>
On Tue, 2024-12-10 at 17:39 +0300, Dmitry Antipov wrote:
> Add the '__counted_by()' compiler attribute to the flexible array member
> 'match[]' to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
> CONFIG_FORTIFY_SOURCE, adjust 'cfg80211_mlme_register_mgmt()' accordingly.
Haha. No.
We _just_ discussed how much pain this causes.
johannes
prev parent reply other threads:[~2024-12-10 16:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-10 14:39 [PATCH 1/2] wifi: cfg80211: annotate struct cfg80211_mgmt_registration with __counted_by() Dmitry Antipov
2024-12-10 14:39 ` [PATCH 2/2] wifi: cfg80211: simplify cfg80211_mlme_register_mgmt() Dmitry Antipov
2024-12-12 8:28 ` Johannes Berg
2024-12-31 4:59 ` kernel test robot
2024-12-10 16:42 ` Johannes Berg [this message]
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=cded5fe5b061e76e00473d0bf40c58b90659d3a1.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=dmantipov@yandex.ru \
--cc=gustavoars@kernel.org \
--cc=kees@kernel.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox