[Bug 325860] [NEW] getxattr in python-fuse does not respect size=0 API
Facundo Batista
facundo at canonical.com
Thu Feb 5 18:12:16 UTC 2009
Public bug reported:
Binary package hint: python-fuse
The getxattr function in python fuse does not respect the API regarding
size=0.
As the manpage says...
"""
An empty buffer of size zero can be passed into these calls to return the current size of the named extended
attribute, which can be used to estimate the size of a buffer which is sufficiently large to hold the value associ‐
ated with the extended attribute.
"""
However, it currently only checks if the returned string size is bigger
than the asked-for size (and as this size is sometimes 0), you just get
a broken behaviour (it even generates the incorrect error).
Both issues are fixed in the pach I'm attaching.
System info:
Ubuntu: 8.10
Installed python-fuse: 1:0.2-pre3-9
However, note that the problem is still in python-fuse's trunk (and the
diff is against that)
** Affects: python-fuse (Ubuntu)
Importance: Undecided
Status: New
--
getxattr in python-fuse does not respect size=0 API
https://bugs.launchpad.net/bugs/325860
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list