Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm: Validate conn before dereference in CDRMAtomicRequest::commit()
During startup, CDRMAtomicImpl::reset() may emit a call to method commit of a CDRMAtomicRequest instance with member "conn" uninitialized, leading to a segfault. Validate the the pointer before dereference it as a workaround. Fixes: 55ac962 ("DRM: preliminary atomic support") Closes: #107 Signed-off-by: Yao Zi <[email protected]>
- Loading branch information