summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/time/muldiv_amd64.s
diff options
context:
space:
mode:
authorDean Deng <deandeng@google.com>2020-01-28 18:43:24 -0800
committergVisor bot <gvisor-bot@google.com>2020-01-28 18:46:14 -0800
commit4cb55a7a3b09c430fa2b7197fdc7b84b7e88a6ed (patch)
treec0e7c7bfbed998608fe23dd4e2a7e46f5deaa1b8 /pkg/sentry/time/muldiv_amd64.s
parent396c574db276ae1424af7098b5cd917e2bed9921 (diff)
Prevent arbitrary size allocation when sending UDS messages.
Currently, Send() will copy data into a new byte slice without regard to the original size. Size checks should be performed before the allocation takes place. Note that for the sake of performance, we avoid putting the buffer allocation into the critical section. As a result, the size checks need to be performed again within Enqueue() in case the limit has changed. PiperOrigin-RevId: 292058147
Diffstat (limited to 'pkg/sentry/time/muldiv_amd64.s')
0 files changed, 0 insertions, 0 deletions