From: Dan Carpenter Date: Fri, 14 Feb 2014 09:05:49 +0000 (+0300) Subject: fs: NULL dereference in posix_acl_to_xattr() X-Git-Tag: v3.15-rc1~97^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47ba9734403770a4c5e685b01f0a72b835dd4fff;p=pandora-kernel.git fs: NULL dereference in posix_acl_to_xattr() This patch moves the dereference of "buffer" after the check for NULL. The only place which passes a NULL parameter is gfs2_set_acl(). Cc: stable Signed-off-by: Dan Carpenter Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed