summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDenis Kirjanov <kda@linux-powerpc.org>2019-07-30 15:13:57 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-25 10:52:58 +0200
commit98ed73a2820031feda0930c86005595a271f9be0 (patch)
treeeae49855886cd6f8346710bc7391486fb23c493d /tools/perf/scripts/python
parent45bf48c3c02a1fbbb95bb73a6bf61e172b79fd95 (diff)
net: usb: pegasus: fix improper read if get_registers() fail
commit 224c04973db1125fcebefffd86115f99f50f8277 upstream. get_registers() may fail with -ENOMEM and in this case we can read a garbage from the status variable tmp. Reported-by: syzbot+3499a83b2d062ae409d4@syzkaller.appspotmail.com Signed-off-by: Denis Kirjanov <kda@linux-powerpc.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions