Re: [PATCH v2] video: fbdev: smscufx: Fix use-after-free in ufx_ops_open()

From
Hyunwoo Kim <hidden>
Date
2022-09-25 16:03:28
Also in
dri-devel
Reply to
Helge Deller, 2022-09-25
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.
Thread (3 messages) 3 messages, 2 authors, last reply 2022-09-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help