From: Brian Norris <briannorris@chromium.org>
To: Chenyuan Yang <chenyuan0y@gmail.com>
Cc: kvalo@kernel.org, johannes.berg@intel.com, horms@kernel.org,
trix@redhat.com, linux-wireless@vger.kernel.org,
zzjas98@gmail.com
Subject: Re: [drivers/net/wireless/marvell] Question about a possible underflow in mwifiex_11h_handle_chanrpt_ready()
Date: Fri, 15 Mar 2024 16:58:42 -0700 [thread overview]
Message-ID: <ZfTgssw_1KBThqGT@google.com> (raw)
In-Reply-To: <ZfN4WHuqOIrO4Ef2@cy-server>
On Thu, Mar 14, 2024 at 05:21:12PM -0500, Chenyuan Yang wrote:
> We are curious whether `event_len` is guaranteed to be greater than or
> equal to `tlv_len + sizeof(rpt->header)` in each iteration since we
> found that `sizeof(struct mwifiex_ie_types_header) ==
> sizeof(rpt->header)`.
You have the code available to look at just as well as we do. I don't
see any such guarantee on first glance.
Patches welcome as always.
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Brian
prev parent reply other threads:[~2024-03-15 23:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-14 22:21 [drivers/net/wireless/marvell] Question about a possible underflow in mwifiex_11h_handle_chanrpt_ready() Chenyuan Yang
2024-03-15 23:58 ` Brian Norris [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=ZfTgssw_1KBThqGT@google.com \
--to=briannorris@chromium.org \
--cc=chenyuan0y@gmail.com \
--cc=horms@kernel.org \
--cc=johannes.berg@intel.com \
--cc=kvalo@kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=trix@redhat.com \
--cc=zzjas98@gmail.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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.