linux/drivers/connector
Mathias Krause 162b2bedc0 connector: use nlmsg_len() to check message length
The current code tests the length of the whole netlink message to be
at least as long to fit a cn_msg. This is wrong as nlmsg_len includes
the length of the netlink message header. Use nlmsg_len() instead to
fix this "off-by-NLMSG_HDRLEN" size check.

Cc: stable@vger.kernel.org  # v2.6.14+
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-10-02 16:03:50 -04:00
..
cn_proc.c proc connector: fix info leaks 2013-10-02 16:03:50 -04:00
cn_queue.c drivers: connector: fixed coding style issues 2012-07-16 23:23:52 -07:00
connector.c connector: use nlmsg_len() to check message length 2013-10-02 16:03:50 -04:00
Kconfig trivial: Kconfig: .ko is normally not included in module names 2009-06-12 18:01:50 +02:00
Makefile