diff options
| author | Georgia Garcia <georgia.garcia@canonical.com> | 2023-08-21 15:37:24 -0300 |
|---|---|---|
| committer | John Johansen <john.johansen@canonical.com> | 2023-08-22 12:16:54 -0700 |
| commit | 8884ba07786c718771cf7b78cb3024924b27ec2b (patch) | |
| tree | c967007ff19405c14482bd3829679aec8fa67a21 /drivers/fpga/tests/fpga-mgr-test.c | |
| parent | efea5b0dcc433df6e7d74605d37813d69f99bef0 (diff) | |
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 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions
