Displaying 3 results from an estimated 3 matches for "has_prefix".
Did you mean:
asmprefix
2016 Dec 01
3
[PATCH v2 1/2] xattrs: Skip security.evm extended attribute
...n always
skip it.
---
xattrs.c | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/xattrs.c b/xattrs.c
index b105392..3b72e61 100644
--- a/xattrs.c
+++ b/xattrs.c
@@ -255,6 +255,9 @@ static int rsync_xal_get(const char *fname, item_list *xalp)
if (user_only ? !HAS_PREFIX(name, USER_PREFIX)
: HAS_PREFIX(name, SYSTEM_PREFIX))
continue;
+
+ if (!strcmp(name, "security.evm"))
+ continue;
#endif
/* No rsync.%FOO attributes are copied w/o 2 -X options. */
@@ -358,6 +361,9 @@ int copy_xattrs(const char *source, const char *dest)
if (use...
2017 Oct 31
0
[Bug 13113] New: receive_xattr heap overflow when prepending RSYNC_PREFIX
...nded to name. If we're running as a normal user (am_root == 0) and the
sender has sent a filter with an xattr filter then the prefix will also be
prepended.
840 #ifdef HAVE_LINUX_XATTRS
841 /* Non-root can only save the user namespace. */
842 if (am_root <= 0 && !HAS_PREFIX(name, USER_PREFIX)) {
843 if (!am_root && !saw_xattr_filter) {
844 free(ptr);
845 continue;
846 }
847 name -= RPRE_LEN;
848 name_len += RPRE_LEN;
849 memcpy(name, RSYNC_PREFIX, RPRE_LEN);
850...
2017 Oct 31
2
[Bug 13112] New: receive_xattr heap overread with non null terminated name and xattr filter
https://bugzilla.samba.org/show_bug.cgi?id=13112
Bug ID: 13112
Summary: receive_xattr heap overread with non null terminated
name and xattr filter
Product: rsync
Version: 3.1.3
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: core