fuse: use safe go_marshal API for FUSE

Until #3698 is resolved, this change is needed to ensure we're not
corrupting memory anywhere.
This commit is contained in:
Ridwan Sharif
2020-09-16 12:19:30 -07:00
committed by Andrei Vagin
parent 4a5857d644
commit d51ddcefdc
3 changed files with 103 additions and 5 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ func (StubMarshallable) MarshalBytes(dst []byte) {
// UnmarshalBytes implements Marshallable.UnmarshalBytes.
func (StubMarshallable) UnmarshalBytes(src []byte) {
panic("Please implement your own UnMarshalBytes function")
panic("Please implement your own UnmarshalBytes function")
}
// Packed implements Marshallable.Packed.