Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fs: NULL dereference in posix_acl_to_xattr()
commit 47ba973 upstream. This patch moves the dereference of "buffer" after the check for NULL. The only place which passes a NULL parameter is gfs2_set_acl(). Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information