diff options
author | Jim Cromie <jim.cromie@gmail.com> | 2020-12-09 21:36:25 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-09 22:10:12 +0300 |
commit | 3577afb0052fca65e67efdfc8e0859bb7bac87a6 (patch) | |
tree | 2ad8e1d53a39133addaf81c5b9325753f8bdd711 /arch | |
parent | 0b81144a4ac20f0757b7c965d2fa57de367c7db5 (diff) | |
download | linux-3577afb0052fca65e67efdfc8e0859bb7bac87a6.tar.xz |
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 'arch')
0 files changed, 0 insertions, 0 deletions