]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nfnetlink: check callbacks before using those in nfnetlink_rcv_msg
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Thu, 28 Jun 2012 02:57:47 +0000 (02:57 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 4 Jul 2012 17:47:53 +0000 (19:47 +0200)
commit9eb0f2e7895e890aa1190be910257e4dbfb5b62d
treecc1a05e5f826b947274b3d34485b58a5b1023c2d
parent093e9826eb4730595dd0ce1bec453918d987a9a5
netfilter: nfnetlink: check callbacks before using those in nfnetlink_rcv_msg

nfnetlink_rcv_msg() might call a NULL callback which will cause NULL pointer
dereference.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nfnetlink.c