commit | b281218ad4311a0342a40cb02fb17a363df08b48 | [log] [tgz] |
---|---|---|
author | Young Xiao <YangX92@hotmail.com> | Fri Apr 12 15:45:06 2019 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Apr 25 22:23:06 2019 +0200 |
tree | dd6e5b40e6ffd8793af4d033ef833e2b4e452a67 | |
parent | 15235f1f495efc5ed435cf6fff95066ba85c5328 [diff] |
Drivers: misc: fix out-of-bounds access in function param_set_kgdbts_var There is an out-of-bounds access to "config[len - 1]" array when the variable "len" is zero. See commit dada6a43b040 ("kgdboc: fix KASAN global-out-of-bounds bug in param_set_kgdboc_var()") for details. Signed-off-by: Young Xiao <YangX92@hotmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>