summaryrefslogtreecommitdiffhomepage
path: root/pkg/safecopy/safecopy_test.go
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2021-02-01 10:25:40 -0800
committergVisor bot <gvisor-bot@google.com>2021-02-01 10:29:39 -0800
commit726100f8eb88e8ea97ef5770b47a271276a8b741 (patch)
treea2c020b00a316b4467b83aa5667051a938615b71 /pkg/safecopy/safecopy_test.go
parentd930def27a433fc9f49ba094c9e9a667e4522aa7 (diff)
Assert expected size before unmarshalling
...to prevent panicking in case of failure. PiperOrigin-RevId: 354970257
Diffstat (limited to 'pkg/safecopy/safecopy_test.go')
0 files changed, 0 insertions, 0 deletions