Re: [PATCH] tty: vt: Fix slab-out-of-bounds write in do_con_write

From: Greg Kroah-Hartman

Date: Sat Mar 21 2026 - 02:38:00 EST


On Sat, Mar 21, 2026 at 07:32:34AM +0100, Greg Kroah-Hartman wrote:
> > + return -1;
>
> Do not make up error numbers :(

Ah, I see this value being returned elsewhere in this function,
nevermind, my fault. But really, it should be an -ERROR value, not just
-1.

thanks,

greg k-h