About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/src/util/u_queue.h
diff options
context:
space:
mode:
authorDylan Baker <dylan.c.baker@intel.com>2025-11-06 11:49:15 -0800
committerMarge Bot <marge-bot@fdo.invalid>2025-11-06 21:07:11 +0000
commit12e22d5bc1afe302206897ad7ea51dcd22f0e857 (patch)
tree762ac521942d9e21b5f31df7281892d5ae7f3c7c /src/util/u_queue.h
parentd5199b07d2631581f4a1ca56dde8a8e60e5188d2 (diff)
anv: prevent potential, but unlikely, overflow
The code in question multiplies `uint32_t`s together and assigns them to a `uint64_t`. It seems rather unlikely at there would be an overflow, but we might as well do the cast. CID: 1649587 Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38289>
Diffstat (limited to 'src/util/u_queue.h')
0 files changed, 0 insertions, 0 deletions