sock.c: potential null dereference
authorDan Carpenter <error27@gmail.com>
Sat, 6 Mar 2010 01:04:45 +0000 (01:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Mar 2010 23:25:50 +0000 (15:25 -0800)
commit72150e9b7fec217fbd646a29ea2f65a3d4d55ea9
tree5c049ed5ec0642cd408286cc049917e2a0d2520d
parentea3fb371b2a391958670f2a65e1203f7dba61671
sock.c: potential null dereference

We test that "prot->rsk_prot" is non-null right before we dereference it
on this line.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sock.c