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


Groups > linux.kernel > #1569446

Re: [PATCH] Memory - Fix possible NULL derefrence.

From Alexandre Belloni <alexandre.belloni@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH] Memory - Fix possible NULL derefrence.
Date 2017-01-30 09:00 +0100
Message-ID <t5f2x-1hX-1@gated-at.bofh.it> (permalink)
References <t5cxI-8lg-3@gated-at.bofh.it> <t5cxI-8lg-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 30/01/2017 at 10:30:05 +0530, Shailendra Verma wrote:
> of_device_get_match_data could return NULL, and so can cause
> a NULL pointer dereference later.
> 

No, it will never return NULL because it will always match.

At some point, I would really like people to stop blindly sending
patches generated by coccinelle.


-- 
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] Memory - Fix possible NULL derefrence. Shailendra Verma <shailendra.v@samsung.com> - 2017-01-30 06:20 +0100
  Re: [PATCH] Memory - Fix possible NULL derefrence. Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-01-30 09:00 +0100

csiph-web