diff options
author | 2017-12-05 17:38:43 +0300 | |
---|---|---|
committer | 2017-12-06 09:44:43 -0500 | |
commit | 8c71fa88f7778eb093ee22cba13a3813a82113ad (patch) | |
tree | 4a5396a6028cbb51a5caf2397f61f6853a30f5da /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | xen/pvcalls: fix potential endless loop in pvcalls-front.c (diff) | |
download | wireguard-linux-8c71fa88f7778eb093ee22cba13a3813a82113ad.tar.xz wireguard-linux-8c71fa88f7778eb093ee22cba13a3813a82113ad.zip |
xen/pvcalls: check for xenbus_read() errors
Smatch complains that "len" is uninitialized if xenbus_read() fails so
let's add some error handling.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions