diff options
author | 2017-12-20 09:48:36 -0700 | |
---|---|---|
committer | 2017-12-20 09:48:36 -0700 | |
commit | 9ae9df035c274c89b7fe3dbc74cbe2fa63386668 (patch) | |
tree | 605af1864dcdf4a50d3f0902c82365a744d27f11 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Linux 4.15-rc4 (diff) | |
download | wireguard-linux-9ae9df035c274c89b7fe3dbc74cbe2fa63386668.tar.xz wireguard-linux-9ae9df035c274c89b7fe3dbc74cbe2fa63386668.zip |
iommu: Check the result of iommu_group_get() for NULL
The result of iommu_group_get() was being blindly used in both
attach and detach which results in a dereference when trying
to work with an unknown device.
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions