Fix by @Low-power:

The attached patch will fix this bug by moving the definition of "acl_phys" to 
the top block of the function, thus its lifetime will cover the whole function.
You can view, comment on, or merge this pull request online at:

  https://github.com/openzfs/openzfs/pull/524

-- Commit Summary --

  * 8966 Source file zfs_acl.c, function zfs_aclset_common contains a use after 
end of the lifetime of a local variable

-- File Changes --

    M usr/src/uts/common/fs/zfs/zfs_acl.c (2)

-- Patch Links --

https://github.com/openzfs/openzfs/pull/524.patch
https://github.com/openzfs/openzfs/pull/524.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/524

------------------------------------------
openzfs-developer
Archives: 
https://openzfs.topicbox.com/groups/developer/discussions/Te13f69890aa6ddb1-M70ccb06801cfd6a3c678f601
Powered by Topicbox: https://topicbox.com

Reply via email to