diff options
| author | Denis Kirjanov <kda@linux-powerpc.org> | 2019-07-30 15:13:57 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-25 10:52:58 +0200 |
| commit | 98ed73a2820031feda0930c86005595a271f9be0 (patch) | |
| tree | eae49855886cd6f8346710bc7391486fb23c493d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 45bf48c3c02a1fbbb95bb73a6bf61e172b79fd95 (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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
