diff options
| author | Aaron Ma <aaron.ma@canonical.com> | 2019-03-13 21:53:24 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-05 09:21:18 +0100 |
| commit | aa1844c9137e7fae79b94ad87017167320419dee (patch) | |
| tree | aa45b87dbb4d3791f8a3391cb7e0ccc73ca2fecc /security | |
| parent | 320ab115caf10ce500fbdd9ae9b2d322dc80d744 (diff) | |
iommu/amd: Fix NULL dereference bug in match_hid_uid
[ Upstream commit bb6bccba390c7d743c1e4427de4ef284c8cc6869 ]
Add a non-NULL check to fix potential NULL pointer dereference
Cleanup code to call function once.
Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Fixes: 2bf9a0a12749b ('iommu/amd: Add iommu support for ACPI HID devices')
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions
