On Sun, Aug 27, 2017 at 03:56:46PM +0200, Jan H. Schönherr wrote: > If a zero for the number of colums or rows manages to slip through, > gotoxy() will underflow vc->vc_pos, causing the next action on the > referenced memory to end with a page fault. > > Make the check in vgacon more pessimistic to prevent that. Also change > a similar check in the x86 boot code with a similar problem. > > Signed-off-by: Jan H. Schönherr <jschoenh@xxxxxxxxx> > --- > Let me know, if I should split this into two patches. > > arch/x86/boot/compressed/misc.c | 3 +-- > drivers/video/console/vgacon.c | 5 ++--- > 2 files changed, 3 insertions(+), 5 deletions(-) Why send this patch to me? And yes, of course you have to split this up, these two files have nothing to do with each other... greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html