Re: [PATCH linux-next] video: fbdev: fbmem: fix pointer reference to null device field

2022-02-11 Thread Paul Menzel
Dear Zhouyi, Am 10.02.22 um 07:58 schrieb Zhouyi Zhou: In function do_remove_conflicting_framebuffers, if device is NULL, there will be null pointer reference. The patch add a check to the if expression. Signed-off-by: Zhouyi Zhou --- Dear Linux folks I discover this bug in the PowerPC VM pr

Re: [PATCH linux-next] video: fbdev: fbmem: fix pointer reference to null device field

2022-02-10 Thread Paul E. McKenney
On Thu, Feb 10, 2022 at 02:58:24PM +0800, Zhouyi Zhou wrote: > In function do_remove_conflicting_framebuffers, if device is NULL, there > will be null pointer reference. The patch add a check to the if expression. > > Signed-off-by: Zhouyi Zhou > --- > Dear Linux folks > > I discover this bug in

[PATCH linux-next] video: fbdev: fbmem: fix pointer reference to null device field

2022-02-10 Thread Zhouyi Zhou
In function do_remove_conflicting_framebuffers, if device is NULL, there will be null pointer reference. The patch add a check to the if expression. Signed-off-by: Zhouyi Zhou --- Dear Linux folks I discover this bug in the PowerPC VM provided by Open source lab of Oregon State University: http