diff options
author | Du Cheng <ducheng2@gmail.com> | 2021-03-12 11:14:21 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-07 13:47:04 +0300 |
commit | 1e353852b3ae9baf9038cd377227526a3a239f20 (patch) | |
tree | 2a64e3498304125d4027e168fd429778693dbc6a /sound/mips | |
parent | 2bcc14fce703970bd32f39385a1a96b08e484800 (diff) | |
download | linux-1e353852b3ae9baf9038cd377227526a3a239f20.tar.xz |
drivers: video: fbcon: fix NULL dereference in fbcon_cursor()
commit 01faae5193d6190b7b3aa93dae43f514e866d652 upstream.
add null-check on function pointer before dereference on ops->cursor
Reported-by: syzbot+b67aaae8d3a927f68d20@syzkaller.appspotmail.com
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Du Cheng <ducheng2@gmail.com>
Link: https://lore.kernel.org/r/20210312081421.452405-1-ducheng2@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/mips')
0 files changed, 0 insertions, 0 deletions