aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorGeorgia Garcia <[email protected]>2023-08-21 15:37:24 -0300
committerJohn Johansen <[email protected]>2023-08-22 12:16:54 -0700
commit8884ba07786c718771cf7b78cb3024924b27ec2b (patch)
treec967007ff19405c14482bd3829679aec8fa67a21 /lib/test_fortify/write_overflow-memcpy.c
parentefea5b0dcc433df6e7d74605d37813d69f99bef0 (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 <[email protected]> Signed-off-by: John Johansen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions