diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-02-05 12:08:19 +0300 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2019-02-11 11:50:43 +0100 |
commit | 9e05352340d3a3e68c144136db9810b26ebb88c3 (patch) | |
tree | bcf5ec76dd0ece4aef4e27c56d4505b49b9d006d /drivers/gpu/drm/nouveau/nvkm/falcon/base.c | |
parent | ef092dec043c0166b8aea0e56d1db8757877e40b (diff) | |
download | linux-stable-9e05352340d3a3e68c144136db9810b26ebb88c3.tar.gz linux-stable-9e05352340d3a3e68c144136db9810b26ebb88c3.tar.bz2 linux-stable-9e05352340d3a3e68c144136db9810b26ebb88c3.zip |
drm/etnaviv: potential NULL dereference
The etnaviv_gem_prime_get_sg_table() is supposed to return error
pointers. Otherwise it can lead to a NULL dereference when it's called
from drm_gem_map_dma_buf().
Fixes: 5f4a4a73f437 ("drm/etnaviv: fix gem_prime_get_sg_table to return new SG table")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/falcon/base.c')
0 files changed, 0 insertions, 0 deletions