summaryrefslogtreecommitdiff
path: root/kernel/sysctl_binary.c
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@mellanox.com>2016-05-15 10:21:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-10 10:26:19 +0200
commit30336a3958e18003bdc48913d29fd1391a187faf (patch)
tree1d17ae31c47097aa6a402bf315c4d1e3149c68e5 /kernel/sysctl_binary.c
parentd0389a29cee10801c2f5678cba6776cc4385b841 (diff)
net/mlx4_core: Fix access to uninitialized index
commit 2bb07e155bb3e0c722c806723f737cf8020961ef upstream. Prevent using uninitialized or negative index when handling steering entries. Fixes: b12d93d63c32 ('mlx4: Add support for promiscuous mode in the new steering model.') Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions