Re: [PATCH] tty/vt: check allocation size in con_set_unimap()
On Wed, Jun 03, 2020 at 01:28:04PM +0300, Denis Efremov wrote: > The vmemdup_user() function has no 2-factor argument form. Use array_size() > to check for the overflow. > > Cc: Kees Cook <keescook@chromium.org> > Signed-off-by: Denis Efremov <efremov@linux.com>