aboutsummaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorGeorgia Garcia2023-08-21 15:37:24 -0300
committerGreg Kroah-Hartman2023-11-20 11:52:09 +0100
commit6cb0495d3623a1dc9c72d3c0b79df75783f5a380 (patch)
treea9298ffb1b932094bbbc08131479726c62b9480b /tools/perf
parentcef064fddee8d01c99cba67d9515a57f32ecf3d4 (diff)
apparmor: fix invalid reference on profile->disconnected
[ Upstream commit 8884ba07786c718771cf7b78cb3024924b27ec2b ] profile->disconnected was storing an invalid reference to the disconnected path. Fix it by duplicating the string using aa_unpack_strdup and freeing accordingly. Fixes: 72c8a768641d ("apparmor: allow profiles to provide info to disconnected paths") Signed-off-by: Georgia Garcia <georgia.garcia@canonical.com> Signed-off-by: John Johansen <john.johansen@canonical.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions