summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/vfs/mount_test.go
diff options
context:
space:
mode:
authorDean Deng <deandeng@google.com>2020-06-30 20:59:32 -0700
committergVisor bot <gvisor-bot@google.com>2020-06-30 21:00:49 -0700
commit43f5dd95a1c58a6e3260c31093bfc3f97885f4b0 (patch)
tree04b14cef927fb34bf58cc848b5a5838c18fcc604 /pkg/sentry/vfs/mount_test.go
parent20d571b0c181023cc02521ad746a2b6d91e6794d (diff)
Fix index calculation for /proc/[pid]/cmdline.
We were truncating buf using a index relative to the middle of the slice (i.e. where envv begins), but we need to calculate the index relative to the entire slice. Updates #2923. PiperOrigin-RevId: 319154950
Diffstat (limited to 'pkg/sentry/vfs/mount_test.go')
0 files changed, 0 insertions, 0 deletions