]> git.baikalelectronics.ru Git - kernel.git/commit
[RTNETLINK]: Possible dereference in net/core/rtnetlink.c
authorEric Sesterhenn <snakebyte@gmx.de>
Wed, 27 Sep 2006 06:26:38 +0000 (23:26 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:01:23 +0000 (18:01 -0700)
commit23cfba8b5525e02cfee01c68744901f00830aee8
tree8cad5227f352a2a0756b2978339eff4b0a5ba0cb
parentfdc3b3a138434982d1d3693b8bb6b5c815adf445
[RTNETLINK]: Possible dereference in net/core/rtnetlink.c

another possible dereference spotted by coverity (#cid 1390).
if the nlmsg_parse() call fails, we goto errout, where we call
dev_put(), with dev still initialized to NULL.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c