Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1231575

Re: [PATCH] bq2415x_charger: Fix null pointer dereference

From Sebastian Reichel <sre@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] bq2415x_charger: Fix null pointer dereference
Date 2015-09-23 19:10 +0200
Message-ID <qbVIl-22x-5@gated-at.bofh.it> (permalink)
References <qbaJs-1m5-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Pali,

On Mon, Sep 21, 2015 at 04:58:20PM +0200, Pali Rohár wrote:
> Commit b68c3161430a (bq2415x_charger: Allow to load and use driver even if
> notify device is not registered yet) introduced null pointer dereference in
> case bq is NULL. This patch fixes it.
> 
> Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
> Reported-by: Dan Carpenter <dan.carpenter@oracle.com>

Thanks, queued with proper "Fixes: " tag.

-- Sebastian

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] bq2415x_charger: Fix null pointer dereference Sebastian Reichel <sre@kernel.org> - 2015-09-23 19:10 +0200

csiph-web