On Thu, Jul 19, 2018 at 12:05:25AM -0400, Nicolas Pitre wrote: > > The nr argument is typically small: most often nr == 1. However this > could be abused with a very large explicit scroll in a resized screen. > Make the code scroll lines by performing an array rotation operation to > avoid the need for a large temporary space. > > Requested-by: Kees Cook <keescook@xxxxxxxxxxxx> > Suggested-by: Adam Borowski <kilobyte@xxxxxxxxxx> > Signed-off-by: Nicolas Pitre <nico@xxxxxxxxxx> I've now applied this v2 of the patch, thanks for this. greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-console" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html