microsoft / opengcs

Moved to https://github.com/microsoft/hcsshim/tree/master/internal/guest. If you wish to open PRs/submit issues please do so against https://github.com/microsoft/hcsshim.
MIT License
83 stars 41 forks source link

json.Unmarshal is incorrectly used #344

Closed QiAnXinCodeSafe closed 5 years ago

QiAnXinCodeSafe commented 5 years ago

https://github.com/microsoft/opengcs/blob/5cfb937d00bd4e0aec6a5adafdb07c0c8bba2378/service/gcs/bridge/bridge.go#L300-L301

entries is a non-pointer variable. https://golang.org/pkg/encoding/json/#Unmarshal