On Thu, Mar 14, 2019 at 01:55:31AM -0500, Kangjie Lu wrote:
> kmemdup may fail and return NULL. The fix adds a check and returns
> NULL in case it fails to avoid NULL pointer dereferecen.
>
> Signed-off-by: Kangjie Lu
Applied, thanks!
kmemdup may fail and return NULL. The fix adds a check and returns
NULL in case it fails to avoid NULL pointer dereferecen.
Signed-off-by: Kangjie Lu
---
drivers/thunderbolt/property.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/thunderbolt/property.c
2 matches
Mail list logo