diff options
author | 2019-04-12 14:45:12 +0100 | |
---|---|---|
committer | 2019-04-12 16:54:41 -0700 | |
commit | 0a2c34f18c94b596562bf3d019fceab998b8b584 (patch) | |
tree | 12148eca601733dc0c909d081100a819c2813b56 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | udpv6: Check address length before reading address family (diff) | |
download | wireguard-linux-0a2c34f18c94b596562bf3d019fceab998b8b584.tar.xz wireguard-linux-0a2c34f18c94b596562bf3d019fceab998b8b584.zip |
vxge: fix return of a free'd memblock on a failed dma mapping
Currently if a pci dma mapping failure is detected a free'd
memblock address is returned rather than a NULL (that indicates
an error). Fix this by ensuring NULL is returned on this error case.
Addresses-Coverity: ("Use after free")
Fixes: 528f727279ae ("vxge: code cleanup and reorganization")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions