]> git.baikalelectronics.ru Git - kernel.git/commit
Don't potentially dereference NULL in net/dcb/dcbnl.c:dcbnl_getapp()
authorJesper Juhl <jj@chaosbits.net>
Thu, 10 Feb 2011 11:57:16 +0000 (11:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 Feb 2011 19:21:14 +0000 (11:21 -0800)
commit465e66f1f1baed5d6a92816b293398fcbac81e77
tree1788ad68e863e2aa8c6cbf50ceab25d39827bc5b
parent4a1d580f4fb6d772216d3f6e66ef25ee7be4300c
Don't potentially dereference NULL in net/dcb/dcbnl.c:dcbnl_getapp()

nla_nest_start() may return NULL. If it does then we'll blow up in
nla_nest_end() when we dereference the pointer.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dcb/dcbnl.c