]> 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)
commit9e4ff3d6a3719f40cf049c09533d52c65e6d9ae1
tree68b9946a8bf4651fa74a47f29a6551b6a70a0ef6
parent5186d6d2bd05a584e070f54974e7bc63e9152e5f
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