summaryrefslogtreecommitdiff
path: root/drivers/base/platform.c
diff options
context:
space:
mode:
authorJim Cromie <jim.cromie@gmail.com>2020-12-09 11:36:25 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-09 20:10:12 +0100
commit3577afb0052fca65e67efdfc8e0859bb7bac87a6 (patch)
tree2ad8e1d53a39133addaf81c5b9325753f8bdd711 /drivers/base/platform.c
parent0b81144a4ac20f0757b7c965d2fa57de367c7db5 (diff)
dyndbg: fix use before null check
In commit a2d375eda771 ("dyndbg: refine export, rename to dynamic_debug_exec_queries()"), a string is copied before checking it isn't NULL. Fix this, report a usage/interface error, and return the proper error code. Fixes: a2d375eda771 ("dyndbg: refine export, rename to dynamic_debug_exec_queries()") Cc: stable@vger.kernel.org -- -v2 drop comment tweak, improve commit message Signed-off-by: Jim Cromie <jim.cromie@gmail.com> Link: https://lore.kernel.org/r/20201209183625.2432329-1-jim.cromie@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/platform.c')
0 files changed, 0 insertions, 0 deletions