diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-02-14 12:05:49 +0300 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2014-02-25 10:01:09 +0000 |
commit | 47ba9734403770a4c5e685b01f0a72b835dd4fff (patch) | |
tree | ac4badd94ef5153496a4159e1bc6614333771d90 /fs/gfs2 | |
parent | 022ef4feed0c648aeb72d0c8ad06d266de08f525 (diff) | |
download | linux-47ba9734403770a4c5e685b01f0a72b835dd4fff.tar.gz linux-47ba9734403770a4c5e685b01f0a72b835dd4fff.tar.bz2 linux-47ba9734403770a4c5e685b01f0a72b835dd4fff.zip |
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>
Diffstat (limited to 'fs/gfs2')
0 files changed, 0 insertions, 0 deletions