diff --git a/storage/manifest.go b/storage/manifest.go index 8b288625..895a112e 100644 --- a/storage/manifest.go +++ b/storage/manifest.go @@ -174,7 +174,8 @@ func (sm *SignedManifest) UnmarshalJSON(b []byte) error { } sm.Manifest = manifest - sm.Raw = b + sm.Raw = make([]byte, len(b), len(b)) + copy(sm.Raw, b) return nil }