aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorLeon Romanovsky <[email protected]>2018-03-07 16:49:16 +0000
committerDoug Ledford <[email protected]>2018-03-07 20:25:40 +0000
commita5880b84430316e3e1c1f5d23aa32ec6000cc717 (patch)
tree63a8ed9ff3a53e4699b8f8d284c65fb6f904e6b8 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentRDMA/mlx5: Fix integer overflow while resizing CQ (diff)
downloadkernel-a5880b84430316e3e1c1f5d23aa32ec6000cc717.tar.gz
kernel-a5880b84430316e3e1c1f5d23aa32ec6000cc717.zip
RDMA/ucma: Check that user doesn't overflow QP state
The QP state is limited and declared in enum ib_qp_state, but ucma user was able to supply any possible (u32) value. Reported-by: [email protected] Fixes: 75216638572f ("RDMA/cma: Export rdma cm interface to userspace") Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions