Skip to content

xattrs: Fix possible double-free in `get_xattrs_impl`

Jonathan Lebon requested to merge jlebon/libglnx:pr/cov-fix into master

When we free xattr_name, we need to transfer ownership away to avoid potential for a double-free if we hit ENOTSUP on the next iteration.

Reported-by: Seth Arnold seth.arnold@canonical.com

Merge request reports