From: Johan Hedberg <johan.hedberg@gmail.com>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Marcel Holtmann <marcel@holtmann.org>,
Larry Finger <Larry.Finger@lwfinger.net>,
Gustavo Padovan <gustavo@padovan.org>,
linux-bluetooth@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] Bluetooth: btrtl: Fix a error code in rtl_load_config()
Date: Fri, 28 Jul 2017 19:31:21 +0300 [thread overview]
Message-ID: <20170728163121.GA1151@x1c.home> (raw)
In-Reply-To: <20170728144111.chywkq2527puieo6@mwanda>
Hi Dan,
On Fri, Jul 28, 2017, Dan Carpenter wrote:
> We accidentally return success if the kmemdup() fails. It results in
> a NULL dereference in the caller.
>
> Fixes: 1110a2dbe698 ("Bluetooth: btrtl: Add RTL8822BE Bluetooth device")
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Applied to bluetooth-next. Thanks.
Johan
prev parent reply other threads:[~2017-07-28 16:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-28 14:41 [PATCH] Bluetooth: btrtl: Fix a error code in rtl_load_config() Dan Carpenter
2017-07-28 16:31 ` Johan Hedberg [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=20170728163121.GA1151@x1c.home \
--to=johan.hedberg@gmail.com \
--cc=Larry.Finger@lwfinger.net \
--cc=dan.carpenter@oracle.com \
--cc=gustavo@padovan.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=marcel@holtmann.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