netlink: validate addr_len on bind

Otherwise an out of bounds read could happen.

Change-Id: Idaaf38bb61002a086c88734ac1f5be96825de26a
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Git-commit: 4e4b53768f1ddce38b7f6edcad3a063020ef0024
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
1 file changed