Re: [PATCH 2/2] apparmor: Fully initialize aa_perms struct when answering userspace query

2018-07-19 Thread John Johansen
On 07/05/2018 10:25 PM, Tyler Hicks wrote: > Fully initialize the aa_perms struct in profile_query_cb() to avoid the > potential of using an uninitialized struct member's value in a response > to a query from userspace. > > Detected by CoverityScan CID#1415126 ("Uninitialized scalar variable") >

Re: [PATCH 2/2] apparmor: Fully initialize aa_perms struct when answering userspace query

2018-07-19 Thread John Johansen
On 07/05/2018 10:25 PM, Tyler Hicks wrote: > Fully initialize the aa_perms struct in profile_query_cb() to avoid the > potential of using an uninitialized struct member's value in a response > to a query from userspace. > > Detected by CoverityScan CID#1415126 ("Uninitialized scalar variable") >

Re: [PATCH 2/2] apparmor: Fully initialize aa_perms struct when answering userspace query

2018-07-10 Thread Serge E. Hallyn
Quoting Tyler Hicks (tyhi...@canonical.com): > Fully initialize the aa_perms struct in profile_query_cb() to avoid the > potential of using an uninitialized struct member's value in a response > to a query from userspace. > > Detected by CoverityScan CID#1415126 ("Uninitialized scalar variable")

Re: [PATCH 2/2] apparmor: Fully initialize aa_perms struct when answering userspace query

2018-07-10 Thread Serge E. Hallyn
Quoting Tyler Hicks (tyhi...@canonical.com): > Fully initialize the aa_perms struct in profile_query_cb() to avoid the > potential of using an uninitialized struct member's value in a response > to a query from userspace. > > Detected by CoverityScan CID#1415126 ("Uninitialized scalar variable")

[PATCH 2/2] apparmor: Fully initialize aa_perms struct when answering userspace query

2018-07-05 Thread Tyler Hicks
Fully initialize the aa_perms struct in profile_query_cb() to avoid the potential of using an uninitialized struct member's value in a response to a query from userspace. Detected by CoverityScan CID#1415126 ("Uninitialized scalar variable") Fixes: 4f3b3f2d79a4 ("apparmor: add profile permission

[PATCH 2/2] apparmor: Fully initialize aa_perms struct when answering userspace query

2018-07-05 Thread Tyler Hicks
Fully initialize the aa_perms struct in profile_query_cb() to avoid the potential of using an uninitialized struct member's value in a response to a query from userspace. Detected by CoverityScan CID#1415126 ("Uninitialized scalar variable") Fixes: 4f3b3f2d79a4 ("apparmor: add profile permission