netfilter: nfnetlink_acct: return -EINVAL if object name is empty
authorPablo Neira Ayuso <pablo@netfilter.org>
Sat, 23 Mar 2013 15:57:59 +0000 (16:57 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 25 Mar 2013 13:21:30 +0000 (14:21 +0100)
commitdeadcfc3324410726cd6a663fb4fc46be595abe7
tree95d308b78abc27e3e0608257bfaa9d5e9ea359f0
parent558724a5b2a73ad0c7638e21e8dffc419d267b6c
netfilter: nfnetlink_acct: return -EINVAL if object name is empty

If user-space tries to create accounting object with an empty
name, then return -EINVAL.

Reported-by: Michael Zintakis <michael.zintakis@googlemail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nfnetlink_acct.c