summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/memmap
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2020-09-22 13:43:02 -0700
committergVisor bot <gvisor-bot@google.com>2020-09-22 13:45:24 -0700
commit778c367171f96c6cfd269cd2363c9f608dd96bcb (patch)
tree1b7eeb9ee7ea511b5c3da439d424d6cbb7d86f39 /pkg/sentry/memmap
parent6e5ea605f4ca9fb8c29adc9510edc980f844ddfc (diff)
Fix panic in `runsc flags`
When printing flags, FlagSet.PrintDefaults compares the Zero value to the flag default value. The Zero refs.LeakMode value was panicking in String() because it didn't expect the default to be used Closes #4023 PiperOrigin-RevId: 333150836
Diffstat (limited to 'pkg/sentry/memmap')
0 files changed, 0 insertions, 0 deletions