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


Groups > linux.kernel > #1614609

Re: [PATCH] nfc: fdp: fix NULL pointer dereference

From Samuel Ortiz <sameo@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] nfc: fdp: fix NULL pointer dereference
Date 2017-04-02 00:40 +0200
Message-ID <trzQB-lI-15@gated-at.bofh.it> (permalink)
References <sQzPz-2vw-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Sudip,

On Tue, Dec 20, 2016 at 09:09:04PM +0000, Sudip Mukherjee wrote:
> We are checking phy after dereferencing it. We can print the debug
> information after checking it. If phy is NULL then we will get a good
> stack trace to tell us that we are in this irq handler.
> 
> Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
> ---
>  drivers/nfc/fdp/i2c.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
Applied to nfc-next, thanks.

Cheers,
Samuel.

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


Thread

Re: [PATCH] nfc: fdp: fix NULL pointer dereference Samuel Ortiz <sameo@linux.intel.com> - 2017-04-02 00:40 +0200

csiph-web