]> git.baikalelectronics.ru Git - kernel.git/commit
isdnloop: Validate NUL-terminated strings from user.
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>
Wed, 2 Apr 2014 03:48:42 +0000 (12:48 +0900)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Apr 2014 15:26:24 +0000 (11:26 -0400)
commitb1e40dd99cc74f23db19576c5e106aef35036286
tree422579145a628d3ba21bfeb28191a5e4d8bf3133
parentc09e9330d6ebf0c228c1e1887efa5efc9dea0e42
isdnloop: Validate NUL-terminated strings from user.

Return -EINVAL unless all of user-given strings are correctly
NUL-terminated.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/isdnloop/isdnloop.c