Re: [PATCH v3] fbcon: Fix a NULL pointer dereference issue in fbcon_putcs

2024-09-25 Thread Helge Deller
On 9/25/24 07:29, Qianqiang Liu wrote: syzbot has found a NULL pointer dereference bug in fbcon. Here is the simplified C reproducer: struct param { uint8_t type; struct tiocl_selection ts; }; int main() { struct fb_con2fbmap con2fb; struct param param;

[PATCH v3] fbcon: Fix a NULL pointer dereference issue in fbcon_putcs

2024-09-24 Thread Qianqiang Liu
syzbot has found a NULL pointer dereference bug in fbcon. Here is the simplified C reproducer: struct param { uint8_t type; struct tiocl_selection ts; }; int main() { struct fb_con2fbmap con2fb; struct param param; int fd = open("/dev/fb1", 0, 0);