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


Groups > linux.kernel > #1614609 > unrolled thread

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

Started bySamuel Ortiz <sameo@linux.intel.com>
First post2017-04-02 00:40 +0200
Last post2017-04-02 00:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#1614609 — Re: [PATCH] nfc: fdp: fix NULL pointer dereference

FromSamuel Ortiz <sameo@linux.intel.com>
Date2017-04-02 00:40 +0200
SubjectRe: [PATCH] nfc: fdp: fix NULL pointer dereference
Message-ID<trzQB-lI-15@gated-at.bofh.it>
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.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web