drm: protect blob list within blob_lock
DRM createblob_ioctl and destroyblob_ioctl
may run in two different threads. This race condition
can lead to null pointer access in createblob_ioctl
function call. List access in create blob API should be
protected within bloblock mutex to avoid such
race condition.
Change-Id: I8c71f432700b68a6a12ad6b41f89d4b1a85bf253
Signed-off-by:
Dhaval Patel <pdhaval@codeaurora.org>
Loading
Please register or sign in to comment