[PATCH v2] video: fbdev: smscufx: Fix use-after-free in ufx_ops_open()
Hyunwoo Kim
imv4bel at gmail.com
Sun Sep 25 13:30:49 UTC 2022
On Sun, Sep 25, 2022 at 03:09:47PM +0200, Helge Deller wrote:
> it seems user and console don't need to be protected by the lock.
> Does it make sense to move them out of the lock?
you're right. Since both variables are not related to a race condition,
it is better to get them out of the lock.
I will submit a v3 patch.
Best Regards,
Hyunwoo Kim.
More information about the dri-devel
mailing list