diff options
Diffstat (limited to 'src/metaentry.c')
-rw-r--r-- | src/metaentry.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/metaentry.c b/src/metaentry.c index fe1c6d1..146fcf9 100644 --- a/src/metaentry.c +++ b/src/metaentry.c @@ -251,6 +251,8 @@ mentry_create(const char *path) path, strerror(errno)); return NULL; } + if (lsize == 0) + return mentry; list = xmalloc(lsize); lsize = listxattr(path, list, lsize); |