]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
isdn/i4l: fix buffer overflow
authorAnnie Cherkaev <annie.cherk@gmail.com>
Sat, 15 Jul 2017 21:08:58 +0000 (15:08 -0600)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Aug 2017 03:43:36 +0000 (20:43 -0700)
commit9f5af546e6acc30f075828cb58c7f09665033967
tree34c3f3dc904c33796a1ea992a125caf876d049f9
parent4d3f5d04d69e9479a3df88ceb0e2cd8188a49366
isdn/i4l: fix buffer overflow

This fixes a potential buffer overflow in isdn_net.c caused by an
unbounded strcpy.

[ ISDN seems to be effectively unmaintained, and the I4L driver in
  particular is long deprecated, but in case somebody uses this..
    - Linus ]

Signed-off-by: Jiten Thakkar <jitenmt@gmail.com>
Signed-off-by: Annie Cherkaev <annie.cherk@gmail.com>
Cc: Karsten Keil <isdn@linux-pingi.de>
Cc: Kees Cook <keescook@chromium.org>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/isdn/i4l/isdn_common.c
drivers/isdn/i4l/isdn_net.c