On Thu, Jul 09, 2026 at 07:48:52PM +0200, Johannes Schauer Marin Rodrigues
wrote:
I can easily test any real fix you come up with, so feel free to send any patch
you'd like me test early and I through it into our CI.
This is the first thing I'd try to rule out:
diff --git a/libfakeroot.c b/libfakeroot.c
index 96d719f..d99c385 100644
--- a/libfakeroot.c
+++ b/libfakeroot.c
@@ -1780,7 +1780,7 @@ static int user_xattr_p(char const *name)
#if defined(HAVE_SETXATTR) || defined(HAVE_LSETXATTR) || defined(HAVE_FSETXATTR)
static size_t common_setxattr(INT_STRUCT_STAT *st, const char *name, void * value, size_t size, int flags)
{
- xattr_args xattr;
+ xattr_args xattr = {0};
xattr.name = name;
xattr.value = value;
xattr.size = size;
@@ -1799,7 +1799,7 @@ static size_t common_setxattr(INT_STRUCT_STAT *st, const char *name, void * valu
#if defined(HAVE_GETXATTR) || defined(HAVE_LGETXATTR) || defined(HAVE_FGETXATTR)
static size_t common_getxattr(INT_STRUCT_STAT *st, const char *name, void * value, size_t size)
{
- xattr_args xattr;
+ xattr_args xattr = {0};
xattr.name = name;
xattr.value = value;
xattr.size = size;
@@ -1817,7 +1817,7 @@ static size_t common_getxattr(INT_STRUCT_STAT *st, const char *name, void * valu
#if defined(HAVE_LISTXATTR) || defined(HAVE_LLISTXATTR) || defined(HAVE_FLISTXATTR)
static size_t common_listxattr(INT_STRUCT_STAT *st, char *list, size_t size)
{
- xattr_args xattr;
+ xattr_args xattr = {0};
xattr.name = NULL;
xattr.value = list;
xattr.size = size;
@@ -1835,7 +1835,7 @@ static size_t common_listxattr(INT_STRUCT_STAT *st, char *list, size_t size)
#if defined(HAVE_REMOVEXATTR) || defined(HAVE_LREMOVEXATTR) || defined(HAVE_FREMOVEXATTR)
static size_t common_removexattr(INT_STRUCT_STAT *st, const char *name)
{
- xattr_args xattr;
+ xattr_args xattr = {0};
xattr.name = name;
xattr.value = NULL;
xattr.size = 0;