diff options
author | Ting-Yu Wang <anivia@google.com> | 2021-02-05 17:25:35 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-02-05 17:28:01 -0800 |
commit | 120c8e34687129c919ae45263c14b239a0a5d343 (patch) | |
tree | b684a6e57c6d291c7d7b528c36c9ef9844dd6e3b /pkg/sentry/time/sampler_test.go | |
parent | 09afd68326898f783927c65f86f813d815d8c16c (diff) |
Replace TaskFromContext(ctx).Kernel() with KernelFromContext(ctx)
Panic seen at some code path like control.ExecAsync where
ctx does not have a Task.
Reported-by: syzbot+55ce727161cf94a7b7d6@syzkaller.appspotmail.com
PiperOrigin-RevId: 355960596
Diffstat (limited to 'pkg/sentry/time/sampler_test.go')
0 files changed, 0 insertions, 0 deletions