See this most recent comment from Havoc:

------- Comment  #11 From Havoc Pennington  2009-03-01 08:42:50 PST
[reply] -------

This code requires some care:
http://womble.decadentplace.org.uk/readdir_r-advisory.html

There is no indication in the standard that fpathconf should ever be returning
0:
http://www.opengroup.org/onlinepubs/009695399/functions/pathconf.html

Surely this is a bug in fuse.

Not sure falling back to PATH_MAX is safe. In fact I think it isn't. readdir_r
will smash the stack if the filename is longer than the buffer...

-- 
dbus fails to start on FUSE filesystems
https://bugs.launchpad.net/bugs/241619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to