commit | 47ba9734403770a4c5e685b01f0a72b835dd4fff | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Feb 14 12:05:49 2014 +0300 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Tue Feb 25 10:01:09 2014 +0000 |
tree | ac4badd94ef5153496a4159e1bc6614333771d90 | |
parent | 022ef4feed0c648aeb72d0c8ad06d266de08f525 [diff] |
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 <stable@vger.kernel.org> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>