fuse
fuse copied to clipboard
fuseutil : HandleRead panics when the resp data is not big enough to hold the file
resp.Data cannot be nil:
s := &fuse.ReadResponse{Data: make([]byte, 0, r.Size)}
Where do you see a panic in HandleRead? It's routinely called with data larger than resp.Data.
Not enough information given to help you -> closing this issue.
Also, the kernel decides how much data it wants, you can't return more then ReadRequest.Size bytes.