[lkml]   [2016]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] device property: fix a potential oops
On Wednesday, April 27, 2016 02:04:20 PM Heikki Krogerus wrote:
> Since fwnode may hold ERR_PTR(-ENODEV) or it may point to
> NULL, the fwnode type checks is_of_node(), is_acpi_node()
> and is is_pset_node() need to consider it. Using
> IS_ERR_OR_NULL() to check it.
> Fixes: 0d67e0fa1664 ("device property: fix for a case of use-after-free")
> Reported-by: Dan Carpenter <>
> Signed-off-by: Heikki Krogerus <>

Applied, thanks!

 \ /
  Last update: 2016-05-04 23:21    [W:0.053 / U:10.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site