aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMatan Barak <matanb@mellanox.com>2018-06-17 12:59:54 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-06-19 10:53:02 -0600
commit19b9def25852caf710b978cd27955090650f115b (patch)
tree016cbeb1b578c662b41573af8ba96a469331a088 /tools
parentIB/uverbs: Add a macro to define a type with no kernel known size (diff)
downloadlinux-dev-19b9def25852caf710b978cd27955090650f115b.tar.xz
linux-dev-19b9def25852caf710b978cd27955090650f115b.zip
IB/uverbs: Allow an empty namespace in ioctl() framework
The ioctl parser framework wrongly assumed that each namespace is populated. This could lead to NULL dereferences. Fix the parser to always check that a given namespace indeed exists. Fixes: fac9658cabb9 ("IB/core: Add new ioctl interface") Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions