Have CommandBuffer::CreateTransferBuffer take a uint32_t instead of size_t
Because client and service may be of different bitness, offsets in command
buffers have to fit in a uint32_t, effectively limiting transfer buffers to 4GB.
Make this clear in CommandBuffer::CreateTransferBuffer by taking a uin32_t
instead of a size_t (fixing callers as appropriate), avoiding potential security
issues with silent clamping.
Reviewed-by: Zhenyao Mo <email@example.com>
Commit-Queue: Antoine Labour <firstname.lastname@example.org>
2 files changed