diff options
author | Przemyslaw Pawelczyk <przemoc@gmail.com> | 2016-01-12 01:04:13 +0100 |
---|---|---|
committer | Przemyslaw Pawelczyk <przemoc@gmail.com> | 2016-01-12 01:04:13 +0100 |
commit | 98e73203bf9df504cd45baab0bee63c6fe7a14df (patch) | |
tree | 95adb27f7569174e46c9cbd8e992922d067cc01b /version.sh | |
parent | d534dd28eb3f02120087b127bb7738233a752a31 (diff) |
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.
Diffstat (limited to 'version.sh')
0 files changed, 0 insertions, 0 deletions