From: Johannes Berg <johannes@sipsolutions.net>
To: Deepanshu Kartikey <kartikey406@gmail.com>
Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org,
syzbot+cc867e537e4bd36f69bb@syzkaller.appspotmail.com
Subject: Re: [PATCH] wifi: cfg80211: validate IEs in cfg80211_wext_siwgenie()
Date: Wed, 22 Jul 2026 17:21:37 +0200 [thread overview]
Message-ID: <a9b045f7bcd5aaa545a047d2893ce3a04932172a.camel@sipsolutions.net> (raw)
In-Reply-To: <CADhLXY4bpoaJAnh6KVe1fU9J_wCihgM3y-LQoXz0Snrmknc6eQ@mail.gmail.com> (sfid-20260710_173144_048168_17158A0B)
Hi,
Sorry for the delay.
On Fri, 2026-07-10 at 21:01 +0530, Deepanshu Kartikey wrote:
>
> validate_ie_attr() takes a struct nlattr * but the wext path
> works with a raw char * buffer, so it cannot be called directly.
Oops, right.
> I have reused the same approach using for_each_element() and
> for_each_element_completed() instead. Is this acceptable?
Sounds good!
johannes
prev parent reply other threads:[~2026-07-22 15:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-10 2:46 [PATCH] wifi: cfg80211: validate IEs in cfg80211_wext_siwgenie() Deepanshu Kartikey
2026-07-10 6:39 ` Johannes Berg
2026-07-10 15:31 ` Deepanshu Kartikey
2026-07-22 15:21 ` 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=a9b045f7bcd5aaa545a047d2893ce3a04932172a.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=kartikey406@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=syzbot+cc867e537e4bd36f69bb@syzkaller.appspotmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox