diff options
author | Jim Cromie <[email protected]> | 2020-12-09 11:36:25 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-12-09 20:10:12 +0100 |
commit | 3577afb0052fca65e67efdfc8e0859bb7bac87a6 (patch) | |
tree | 2ad8e1d53a39133addaf81c5b9325753f8bdd711 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0b81144a4ac20f0757b7c965d2fa57de367c7db5 (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: [email protected]
--
-v2 drop comment tweak, improve commit message
Signed-off-by: Jim Cromie <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions