linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Carpenter <dan.carpenter@oracle.com>
To: Lorenzo Bianconi <lorenzo@kernel.org>
Cc: nbd@nbd.name, linux-wireless@vger.kernel.org,
	lorenzo.bianconi@redhat.com, sean.wang@mediatek.com,
	ryder.lee@mediatek.com
Subject: Re: [PATCH] mt76: mt7915: fix possible NULL pointer dereference in mt7915_register_ext_phy
Date: Fri, 22 May 2020 11:38:09 +0300	[thread overview]
Message-ID: <20200522083809.GD22511@kadam> (raw)
In-Reply-To: <20200522075124.GB4245@localhost.localdomain>

On Fri, May 22, 2020 at 09:51:24AM +0200, Lorenzo Bianconi wrote:
> > 
> > On Fri, May 22, 2020 at 09:26:06AM +0200, Lorenzo Bianconi wrote:
> > > Fix a NULL pointer dereference in mt7915_register_ext_phy since phy
> > > data structure is allocated by mt76_alloc_phy routine
> > > 
> > > Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
> > 
> > Thanks!  Could you fix the same the bug in mt7615_register_ext_phy() as
> > well?
> 
> Hi Dan,
> 
> I have already posted the fix here: https://patchwork.kernel.org/patch/11553519/
> The patch is already in Felix's tree.

Fantastic.

regards,
dan carpenter


      reply	other threads:[~2020-05-22  8:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-22  7:26 [PATCH] mt76: mt7915: fix possible NULL pointer dereference in mt7915_register_ext_phy Lorenzo Bianconi
2020-05-22  7:45 ` Dan Carpenter
2020-05-22  7:51   ` Lorenzo Bianconi
2020-05-22  8:38     ` Dan Carpenter [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=20200522083809.GD22511@kadam \
    --to=dan.carpenter@oracle.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=lorenzo.bianconi@redhat.com \
    --cc=lorenzo@kernel.org \
    --cc=nbd@nbd.name \
    --cc=ryder.lee@mediatek.com \
    --cc=sean.wang@mediatek.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;
as well as URLs for NNTP newsgroup(s).