]> Git Repo - qemu.git/blobdiff - hw/9pfs/virtio-9p-posix-acl.c
hw/9pfs/virtio-9p-posix-acl: Fix out-of-bounds access
[qemu.git] / hw / 9pfs / virtio-9p-posix-acl.c
index 803d9d94f3b8ff141933111c2bf21c94303889c7..09dad071e487da69d14a7e229851c82ba5700200 100644 (file)
@@ -114,7 +114,7 @@ static ssize_t mp_dacl_listxattr(FsContext *ctx, const char *path,
     }
 
     /* len includes the trailing NUL */
-    memcpy(value, ACL_ACCESS, len);
+    memcpy(value, ACL_DEFAULT, len);
     return 0;
 }
 
This page took 0.023292 seconds and 4 git commands to generate.