diff options
| author | 2023-08-21 15:37:24 -0300 | |
|---|---|---|
| committer | 2023-08-22 12:16:54 -0700 | |
| commit | 8884ba07786c718771cf7b78cb3024924b27ec2b (patch) | |
| tree | c967007ff19405c14482bd3829679aec8fa67a21 /tools/perf/scripts/python/libxed.py | |
| parent | apparmor: remove unused PROF_* macros (diff) | |
| download | linux-rng-8884ba07786c718771cf7b78cb3024924b27ec2b.tar.xz linux-rng-8884ba07786c718771cf7b78cb3024924b27ec2b.zip | |
apparmor: fix invalid reference on profile->disconnected
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>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
