remarkable-linux/security/smack
Tomasz Stanislawski 470043ba99 security: smack: fix memleak in smk_write_rules_list()
The smack_parsed_rule structure is allocated.  If a rule is successfully
installed then the last reference to the object is lost.  This patch fixes this
leak. Moreover smack_parsed_rule is allocated on stack because it no longer
needed ofter smk_write_rules_list() is finished.

Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com>
2013-08-01 12:57:24 -07:00
..
Kconfig Smack: use select not depends in Kconfig 2012-12-14 10:57:10 -08:00
Makefile Smack: Simplified Mandatory Access Control Kernel 2008-02-05 09:44:20 -08:00
smack.h Smack: Add smkfstransmute mount option 2013-05-28 10:08:44 -07:00
smack_access.c Smack: Fix possible NULL pointer dereference at smk_netlbl_mls() 2013-05-28 10:15:35 -07:00
smack_lsm.c NFS client updates for Linux 3.11 2013-07-09 12:09:43 -07:00
smackfs.c security: smack: fix memleak in smk_write_rules_list() 2013-08-01 12:57:24 -07:00