mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
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:
committed by
Andrei Vagin
parent
4a5857d644
commit
d51ddcefdc
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user