kernel_optimize_test/security/selinux/ss
Paul Moore e1770d97a7 [SELinux]: Fix double free in selinux_netlbl_sock_setsid()
As pointed out by Adrian Bunk, commit
45c950e0f8 ("fix memory leak in netlabel
code") caused a double-free when security_netlbl_sid_to_secattr()
fails.  This patch fixes this by removing the netlbl_secattr_destroy()
call from that function since we are already releasing the secattr
memory in selinux_netlbl_sock_setsid().

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-01-31 19:27:04 -08:00
..
avtab.c security/selinux: Add missing "space" 2008-01-25 11:29:44 +11:00
avtab.h SELinux: add more validity checks on policy load 2007-11-08 08:56:23 +11:00
conditional.c SELinux: add more validity checks on policy load 2007-11-08 08:56:23 +11:00
conditional.h
constraint.h
context.h
ebitmap.c SELinux: fix bug in new ebitmap code. 2007-11-08 08:55:10 +11:00
ebitmap.h SELinux: kills warnings in Improve SELinux performance when AVC misses 2007-10-17 08:59:36 +10:00
hashtab.c
hashtab.h
Makefile
mls_types.h
mls.c NetLabel: Add secid token support to the NetLabel secattr struct 2008-01-30 08:17:19 +11:00
mls.h SELinux: add more validity checks on policy load 2007-11-08 08:56:23 +11:00
policydb.c SELinux: Add a capabilities bitmap to SELinux policy version 22 2008-01-30 08:17:23 +11:00
policydb.h SELinux: Add a capabilities bitmap to SELinux policy version 22 2008-01-30 08:17:23 +11:00
services.c [SELinux]: Fix double free in selinux_netlbl_sock_setsid() 2008-01-31 19:27:04 -08:00
services.h
sidtab.c
sidtab.h
symtab.c
symtab.h