Browse Source

Fix constructing string from attrval setxattr config (#1508)

pull/1509/head
trapexit 2 months ago
committed by GitHub
parent
commit
df19f99976
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/fuse_setxattr.cpp

2
src/fuse_setxattr.cpp

@ -97,7 +97,7 @@ _setxattr_ctrl_file(const char *attrname_,
if((flags_ & XATTR_CREATE) == XATTR_CREATE)
return -EEXIST;
rv = cfg->set(key,attrval_);
rv = cfg->set(key,std::string{attrval_,attrvalsize_});
if(rv < 0)
return rv;

Loading…
Cancel
Save