Files
linux/net/tipc
Erik Hugne d7bb74c38c tipc: fix out of bounds indexing
Commit 78acb1f9b8 ("tipc: add
ioctl to fetch link names") introduced a buffer overflow bug where
specially crafted ioctl requests could cause out-of-bounds indexing
of the node->links array. This was caused by an incorrect check vs
MAX_BEARERS, and the static code checker complaint is:
net/tipc/node.c:459 tipc_node_get_linkname() error: buffer overflow 'node->links' 2 <= 2

Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-04-28 14:43:35 -04:00
..
2014-04-22 21:17:53 -04:00
2014-04-27 19:08:06 -04:00
2013-04-17 14:18:33 -04:00
2014-04-22 21:17:53 -04:00
2014-04-22 21:17:53 -04:00
2014-04-22 21:17:53 -04:00
2014-04-22 21:17:53 -04:00
2014-04-28 14:43:35 -04:00
2014-04-26 12:13:24 -04:00
2014-04-26 12:13:24 -04:00