summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDavi Arnaut <davi.arnaut@gmail.com>2005-10-23 21:57:16 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-24 01:38:39 +0200
commit20c19e4179884d7e843314071e2dfb1ea7b0afcd (patch)
tree1ed0cc19c51b10336c14a1b9c35095ef8ebfd138 /lib
parent[PATCH] selinux: Fix NULL deref in policydb_destroy (diff)
downloadlinux-20c19e4179884d7e843314071e2dfb1ea7b0afcd.tar.xz
linux-20c19e4179884d7e843314071e2dfb1ea7b0afcd.zip
[PATCH] SELinux: handle sel_make_bools() failure in selinuxfs
This patch fixes error handling in sel_make_bools(), where currently we'd get a memory leak via security_get_bools() and try to kfree() the wrong pointer if called again. Signed-off-by: James Morris <jmorris@namei.org> Acked-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions