diff options
author | Amrani, Ram <Ram.Amrani@cavium.com> | 2017-06-26 19:05:04 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-07-20 18:20:50 +0300 |
commit | c75d3ec8c0ee469de79ae83c1a827d753603e49f (patch) | |
tree | 49ac00312ed0d4af72a8254e95baa98450f3c089 /lib/rbtree.c | |
parent | 720336c42e41a917002fcae3aa14e30f5022bbb7 (diff) | |
download | linux-c75d3ec8c0ee469de79ae83c1a827d753603e49f.tar.xz |
RDMA/qedr: Prevent memory overrun in verbs' user responses
Wrap ib_copy_to_udata with a function that ensures that the data
being copied over to user space isn't longer than the allowed.
Fixes: cecbcddf6461 ("qedr: Add support for QP verbs")
Fixes: a7efd7773e31 ("qedr: Add support for PD,PKEY and CQ verbs")
Fixes: ac1b36e55a51 ("qedr: Add support for user context verbs")
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'lib/rbtree.c')
0 files changed, 0 insertions, 0 deletions