diff options
| author | Valentin Vidic <vvidic@valentin-vidic.from.hr> | 2019-10-15 22:20:20 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-06 12:09:23 +0100 |
| commit | 06ddf07c8e613d03c070d9d2c7fab13912ad408c (patch) | |
| tree | f39a57dd3cc0a486e71001ff1973bb19a7d553ba /kernel/trace/trace_functions_graph.c | |
| parent | 4366f9e3e8733f220e986433255297958c704482 (diff) | |
net: usb: sr9800: fix uninitialized local variable
commit 77b6d09f4ae66d42cd63b121af67780ae3d1a5e9 upstream.
Make sure res does not contain random value if the call to
sr_read_cmd fails for some reason.
Reported-by: syzbot+f1842130bbcfb335bac1@syzkaller.appspotmail.com
Signed-off-by: Valentin Vidic <vvidic@valentin-vidic.from.hr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions
