summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorEtienne Basset <etienne.basset@numericable.fr>2009-03-31 23:54:11 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-05-02 10:23:55 -0700
commit2d44563c1619317484982f0e46e246ebc9afe898 (patch)
tree08271c101c0a7a75cc99b8d6e7f24cb59fd41b50 /arch
parent73855c24b93d73b007b0aa295a764c9b9ce96b4c (diff)
security/smack: fix oops when setting a size 0 SMACK64 xattr
upstream commit: 4303154e86597885bc3cbc178a48ccbc8213875f this patch fix an oops in smack when setting a size 0 SMACK64 xattr eg attr -S -s SMACK64 -V '' somefile This oops because smk_import_entry treats a 0 length as SMK_MAXLEN Signed-off-by: Etienne Basset <etienne.basset@numericable.fr> Reviewed-by: James Morris <jmorris@namei.org> Acked-by: Casey Schaufler <casey@schaufler-ca.com> Signed-off-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions