[Cluster-devel] [PATCH] gfs2: get rid of potential double free

Andreas Gruenbacher agruenba at redhat.com
Mon Nov 26 23:19:48 UTC 2018


Pan,

On Mon, 26 Nov 2018 at 09:44, Pan Bian <bianpan2016 at 163.com> wrote:

> __gfs2_set_acl will not increase the reference count of acl if it fails.
> In this case, posix_acl_release are called twice, one after
> __gfs2_set_acl and one in the error handling block. This patch does not
> release acl when __gfs2_set_acl fails.
>

thanks for the bug report and patch; I think this should be fixed more
clearly as in the patch I've posted earlier today.

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20181127/ade5008f/attachment.htm>


More information about the Cluster-devel mailing list