[Intel-gfx] [PATCH v2 06/19] fbcon: Use delayed work for cursor
Tetsuo Handa
penguin-kernel at I-love.SAKURA.ne.jp
Thu Feb 10 11:43:36 UTC 2022
On 2022/02/09 6:08, Daniel Vetter wrote:
> @@ -714,6 +700,8 @@ static int con2fb_acquire_newinfo(struct vc_data *vc, struct fb_info *info,
> ops = kzalloc(sizeof(struct fbcon_ops), GFP_KERNEL);
> if (!ops)
> err = -ENOMEM;
> +
> + INIT_DELAYED_WORK(&ops->cursor_work, fb_flashcursor);
> }
>
> if (!err) {
Memory allocation fault injection will hit NULL pointer dereference.
More information about the Intel-gfx
mailing list