Displaying 1 result from an estimated 1 matches for "unread_data".
Did you mean:
read_data
2011 Jul 28
1
[Bug 8333] New: crash with hfs-compression.diff and possible fix
...-compression --fileflags).
The crash was occurring in routine rsync_xal_set in xattrs.c. Near line 900 of
the patched xattrs.c, we have
memcpy(ptr + len, name, name_len);
At this part of the code, for hfs-compressed attributes it appears that ptr is
set to the dummy value UNREAD_DATA (which is defined to be char *1,). This
memcpy should clearly not be performed for hfs-compression, and rsync crashes.
I have temporarily got around this by adding:
if (ptr = UNREAD_DATA)
continue;
just before the invalid memcpy. This allows...