[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6610441.t0YFBFda2e@phil>
Date: Tue, 16 Oct 2018 15:00:20 +0200
From: Heiko Stuebner <heiko@...ech.de>
To: Enric Balletbo i Serra <enric.balletbo@...labora.com>
Cc: David Airlie <airlied@...ux.ie>, kernel@...labora.com,
linux-kernel@...r.kernel.org, Sandy Huang <hjc@...k-chips.com>,
dri-devel@...ts.freedesktop.org,
linux-rockchip@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] drm/rockchip: psr: do not dereference encoder before it is null checked.
Am Samstag, 13. Oktober 2018, 12:56:54 CEST schrieb Enric Balletbo i Serra:
> 'encoder' is deferenced before it is null sanity checked, hence we
> potentially have a null pointer dereference bug. Instead, initialise
> drm_drv from encoder->dev->dev_private after we are sure 'encoder' is
> not null.
>
> Fixes: 5182c1a556d7f ("drm/rockchip: add an common abstracted PSR driver")
> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@...labora.com>
added a stable-tag and applied to drm-misc-next
Thanks
Heiko
Powered by blists - more mailing lists