summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2025-10-24 12:59:51 -0700
committerJohn Johansen <john.johansen@canonical.com>2026-06-13 20:14:06 -0700
commit6d25e7b47616cb2db43351210929c8f19dc305a3 (patch)
treeb103b52de9c14c6d36a5dcf83672c09da391ebdc /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
parentb1aea2c1960771a276d7e68c7424168eccd0c3da (diff)
apparmor: fix refcount leak when updating the sk_ctx
Currently update_sk_ctx() transfers the plabel reference, unfortunately it is also unconditionally put in the caller. Ideally we would make the caller conditionally put the reference based on whether it was transferred but for now just fix the bug by getting a reference. Fixes: 88fec3526e841 ("apparmor: make sure unix socket labeling is correctly updated.") Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions