Tyler Hicks f4585bc20f apparmor: Fully initialize aa_perms struct when answering userspace query
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 query ability")
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Acked-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
2018-07-19 16:29:13 -07:00
..
2017-04-07 08:58:35 +10:00
2018-05-03 00:47:56 -07:00
2018-02-09 11:30:01 -08:00
2018-06-07 01:51:02 -07:00
2018-05-03 00:50:12 -07:00
2018-05-03 00:50:30 -07:00
2018-02-09 11:30:01 -08:00
2018-02-09 11:30:01 -08:00
2018-06-07 01:51:01 -07:00