]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
fix more leaks in audit_tree.c tag_chunk()
authorAl Viro <viro@ZenIV.linux.org.uk>
Sat, 19 Dec 2009 16:03:30 +0000 (16:03 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 18 Jan 2010 18:19:50 +0000 (10:19 -0800)
commit9ef9a7c717299c9c57cba7a246462bf1c342118a
tree86f2618e55c3a84538bd79290ebc3ea123da911c
parentdffaea5bd7145629d54ba57a49366bbd8157ddef
fix more leaks in audit_tree.c tag_chunk()

commit b4c30aad39805902cf5b855aa8a8b22d728ad057 upstream.

Several leaks in audit_tree didn't get caught by commit
318b6d3d7ddbcad3d6867e630711b8a705d873d7, including the leak on normal
exit in case of multiple rules refering to the same chunk.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/audit_tree.c