diff options
author | Valentin Vidic <vvidic@valentin-vidic.from.hr> | 2019-10-15 22:20:20 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-15 21:02:12 -0700 |
commit | 77b6d09f4ae66d42cd63b121af67780ae3d1a5e9 (patch) | |
tree | 3149c2baffcb1c36b6cba732ebb67e4866950c4a /net | |
parent | efb86fede98cdc70b674692ff617b1162f642c49 (diff) | |
download | lwn-77b6d09f4ae66d42cd63b121af67780ae3d1a5e9.tar.gz lwn-77b6d09f4ae66d42cd63b121af67780ae3d1a5e9.zip |
net: usb: sr9800: fix uninitialized local variable
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions