diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-08-12 08:44:47 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-08-12 08:44:47 +0000 |
commit | 5bd8f886db24151734e03497661e5521d1dfcc48 (patch) | |
tree | db4948a593ba768c6b14796aa715ffd84473d0a2 /pkg/sentry/kernel/futex | |
parent | 7e3845c246594cf53f846a6b3adf0b601368dd52 (diff) | |
parent | 3416a3db77bf80cc1100b7d206fe0b68d424d7c9 (diff) |
Merge release-20210726.0-57-g3416a3db7 (automated)
Diffstat (limited to 'pkg/sentry/kernel/futex')
-rw-r--r-- | pkg/sentry/kernel/futex/futex_unsafe_state_autogen.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/sentry/kernel/futex/futex_unsafe_state_autogen.go b/pkg/sentry/kernel/futex/futex_unsafe_state_autogen.go index 84bb180fc..b06acb209 100644 --- a/pkg/sentry/kernel/futex/futex_unsafe_state_autogen.go +++ b/pkg/sentry/kernel/futex/futex_unsafe_state_autogen.go @@ -21,7 +21,8 @@ func (p *AtomicPtrBucket) beforeSave() {} // +checklocksignore func (p *AtomicPtrBucket) StateSave(stateSinkObject state.Sink) { p.beforeSave() - var ptrValue *bucket = p.savePtr() + var ptrValue *bucket + ptrValue = p.savePtr() stateSinkObject.SaveValue(0, ptrValue) } |