Re: [PATCH] IB/core: Fix uninitialized variable use in check_qp_port_pkey_settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 1, 2017 at 9:40 AM, Paul Moore <paul@xxxxxxxxxxxxxx> wrote:
> On Fri, Jun 30, 2017 at 10:35 AM, Dan Jurgens <danielj@xxxxxxxxxxxx> wrote:
>> From: Daniel Jurgens <danielj@xxxxxxxxxxxx>
>>
>> Check the return value from get_pkey_and_subnet_prefix to prevent using
>> uninitialized variables.
>>
>> Fixes: d291f1a65232 ("IB/core: Enforce PKey security on QPs")
>> Signed-off-by: Daniel Jurgens <danielj@xxxxxxxxxxxx>
>> Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
>> ---
>>  drivers/infiniband/core/security.c | 20 ++++++++++++--------
>>  1 file changed, 12 insertions(+), 8 deletions(-)
>
> Since the original patch went in via the SELinux tree, would the
> IB/RDMA folks prefer this to go in via the SELinux tree as well?

I went ahead and merged this into the selinux/stable-4.13 tree and I'm
doing a sanity build now, assuming all goes well I'll send this up for
v4.13.

-- 
paul moore
www.paul-moore.com
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux