Fix access violation in mtk_drm_crtc_dma_dev_get
Status from this message: Applied to mediatek-drm-fixes [1], thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | drm/mediatek: Fix access violation in mtk_drm_crtc_dma_dev_getdrivers/ | +8 | 4 replies |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | CK Hu | AngeloGioacchino DEl Regno | Macpaul Lin |
|---|---|---|---|
| 1/1 | R-b | R-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/1] Fix access violation in mtk_drm_crtc_dma_dev_get
Add error handling to check NULL input inmtk_drm_crtc_dma_dev_get function.
While display path is not configured correctly, none of crtc is established. So the caller of mtk_drm_crtc_dma_dev_get may pass input parameter *crtc as NULL, Which may cause coredump when we try to get the container of NULL pointer.
Stuart Lee (1):
drm/mediatek: Fix access violation in mtk_drm_crtc_dma_dev_get
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
Signature · 1 line
2.18.0