diff options
author | Phillip Potter <phil@philpotter.co.uk> | 2021-04-01 23:36:07 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-01 16:09:37 -0700 |
commit | bd78980be1a68d14524c51c4b4170782fada622b (patch) | |
tree | 0c28539f44dd0a6c5a2d39e53256430bfb87b5f2 /.clang-format | |
parent | 5a32fcdb1e686e90a2c5f2d095fb79aa2fb3f176 (diff) |
net: usb: ax88179_178a: initialize local variables before use
Use memset to initialize local array in drivers/net/usb/ax88179_178a.c, and
also set a local u16 and u32 variable to 0. Fixes a KMSAN found uninit-value bug
reported by syzbot at:
https://syzkaller.appspot.com/bug?id=00371c73c72f72487c1d0bfe0cc9d00de339d5aa
Reported-by: syzbot+4993e4a0e237f1b53747@syzkaller.appspotmail.com
Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions