Skip to content

Xattr not passed correctly to OSX? #6

@sepiroth887

Description

@sepiroth887

Hi,

I am working on a Ramdisk implementation using fuse4j. So far almost everything works quite nicely.

listing xattributes in terminal via ls -l@ shows some weird behaviour. Find below a printout of the console part :

-rw-r--r--@ 1 tobiashaag staff 346 29 Mar 16:44 sdfgsdfg.rtf
com.apple.quarantine 23
-CDEF000000 -1

if i run ls -l@ again this is the result :

-rw-r--r--@ 1 tobiashaag staff 346 29 Mar 16:44 sdfgsdfg.rtf
com.apple.quarantine 23
-1
-1

seems some arbitrary memory locations are read, i.e the buffer for the attribute name in the listxattr() method seems to be the culprit.

Let me know if its just an implementation issue on my end or whether another fix is needed.

Thanks and great work !

Tobi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions