[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-fbdev
Subject:    Re: [PATCH v2] video: fbdev: smscufx: Fix use-after-free in ufx_ops_open()
From:       Hyunwoo Kim <imv4bel () gmail ! com>
Date:       2022-09-25 13:30:49
Message-ID: 20220925133049.GA383810 () ubuntu
[Download RAW message or body]

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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic