From 98e73203bf9df504cd45baab0bee63c6fe7a14df Mon Sep 17 00:00:00 2001 From: Przemyslaw Pawelczyk Date: Tue, 12 Jan 2016 01:04:13 +0100 Subject: metaentry.c: Fix meta entry handling in case of xattr errors. getxattr() call can fail in mentry_create(), so NULL-initialize mentry->xattr_values[i] and update mentry->xattrs upon error, so there is no attempt in mentry_free() to free unitialized xattr_names[i] and xattr_values[i] pointers. Fixes #38. --- NEWS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 7cf7a77..96d7b49 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,9 @@ Latest stuff (planned release date: 2015-09-??) * BUGFIX: Applying metadata with extended attribute having null byte in value zeroed all following bytes of this xattr value. + * BUGFIX: Reading extended attributes while not having permissions + resulted in crash. + * Empty directories not present in metadata can be now removed when applying stored metadata if -E / --remove-empty-dirs option is used. -- cgit v1.2.1