diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2021-04-05 10:44:34 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-04-08 16:14:56 -0300 |
commit | d1c803a9ccd7bd3aff5e989ccfb39ed3b799b975 (patch) | |
tree | e2702fb118821550e708e9cadd2c88161619ba85 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e1ad897b9c738d5550be6762bf3a6ef1672259a4 (diff) |
RDMA/addr: Be strict with gid size
The nla_len() is less than or equal to 16. If it's less than 16 then end
of the "gid" buffer is uninitialized.
Fixes: ae43f8286730 ("IB/core: Add IP to GID netlink offload")
Link: https://lore.kernel.org/r/20210405074434.264221-1-leon@kernel.org
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions