mirror of
https://gitlab.freedesktop.org/mesa/vulkan-wsi-layer.git
synced 2026-05-03 08:58:07 +02:00
Previously the calculation for total_size was done in 32-bits, as the operands were all 32-bit signed or unsigned integers. This led to integer overflow when the extent being allocated is too large. total_size is finally cast to size_t, as the kernel UAPI for ION uses size_t. Change-Id: I7a76b2c18be25fda0bf6ef70cd8a6fe717c2903c Signed-off-by: Fufu Fang <fufu.fang@arm.com> |
||
|---|---|---|
| .. | ||
| drm | ||
| wsialloc | ||
| custom_allocator.cpp | ||
| custom_allocator.hpp | ||
| extension_list.cpp | ||
| extension_list.hpp | ||
| file_descriptor.hpp | ||
| helpers.hpp | ||
| log.cpp | ||
| log.hpp | ||
| macros.hpp | ||
| optional.hpp | ||
| platform_set.hpp | ||
| ring_buffer.hpp | ||
| timed_semaphore.cpp | ||
| timed_semaphore.hpp | ||
| unordered_map.hpp | ||
| unordered_set.hpp | ||