]> git.baikalelectronics.ru Git - kernel.git/commit
net: tipc: fix a missing check of nla_nest_start
authorKangjie Lu <kjlu@umn.edu>
Fri, 15 Mar 2019 17:11:59 +0000 (12:11 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Mar 2019 19:09:05 +0000 (12:09 -0700)
commit1c17c8adf61e991096a8c80cecaaec3ea30bf034
tree68b9946a8bf4651fa74a47f29a6551b6a70a0ef6
parentc24781abb4e9d2a875db4dd23a5e80d2e3f1c072
net: tipc: fix a missing check of nla_nest_start

nla_nest_start could fail and requires a check. The fix returns
-EMSGSIZE if it fails.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/group.c