mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
drm/msm: reject submit ioctl if no gpu
Existing userspace wouldn't get this far, since getparam ioctl would have failed and it would have bailed out creating a screen/context. But all the same, we shouldn't let evil or confused userspace cause a null ptr deref. Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
1e2c8e7a2f
commit
c01a958eca
1 changed files with 4 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue