From: Eric Paris Date: Wed, 4 Apr 2012 17:46:36 +0000 (-0400) Subject: SELinux: possible NULL deref in context_struct_to_string X-Git-Tag: v3.5-rc1~161^2^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb7081ab93582fd2557160549854200a5fc7b42a;p=pandora-kernel.git SELinux: possible NULL deref in context_struct_to_string It's possible that the caller passed a NULL for scontext. However if this is a defered mapping we might still attempt to call *scontext=kstrdup(). This is bad. Instead just return the len. Signed-off-by: Eric Paris --- Reading git-diff-tree failed