mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 00:14:44 +01:00

patches 0001-0022 are backports of fixes from the 4.8 pull-request 0023-0025 are the out of tree feature patches Signed-off-by: John Johansen <john.johansen@canonical.com>
27 lines
821 B
Diff
27 lines
821 B
Diff
From 9ad29b2e7820895339f90eb71b411d0134cf1ce9 Mon Sep 17 00:00:00 2001
|
|
From: John Johansen <john.johansen@canonical.com>
|
|
Date: Wed, 18 Nov 2015 11:41:05 -0800
|
|
Subject: [PATCH 13/25] apparmor: fix ref count leak when profile sha1 hash is
|
|
read
|
|
|
|
Signed-off-by: John Johansen <john.johansen@canonical.com>
|
|
Acked-by: Seth Arnold <seth.arnold@canonical.com>
|
|
---
|
|
security/apparmor/apparmorfs.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/security/apparmor/apparmorfs.c b/security/apparmor/apparmorfs.c
|
|
index 45a6199..0d8dd71 100644
|
|
--- a/security/apparmor/apparmorfs.c
|
|
+++ b/security/apparmor/apparmorfs.c
|
|
@@ -331,6 +331,7 @@ static int aa_fs_seq_hash_show(struct seq_file *seq, void *v)
|
|
seq_printf(seq, "%.2x", profile->hash[i]);
|
|
seq_puts(seq, "\n");
|
|
}
|
|
+ aa_put_profile(profile);
|
|
|
|
return 0;
|
|
}
|
|
--
|
|
2.7.4
|
|
|