Skip to content
Commit 9195d762 authored by Luis Mendes's avatar Luis Mendes Committed by Greg Kroah-Hartman
Browse files

staging: gasket: Fix incongruency in handling of sysfs entries creation



Fix incongruency in handling of sysfs entries creation.
This issue could cause invalid memory accesses, by not properly
detecting the end of the sysfs attributes array.

Fixes: 84c45d5f ("staging: gasket: Replace macro __ATTR with __ATTR_NULL")
Signed-off-by: default avatarLuis Mendes <luis.p.mendes@gmail.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200403151534.20753-1-luis.p.mendes@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8f3d9f35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment