We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fdc765 commit 41c4636Copy full SHA for 41c4636
Xext/xvdisp.c
@@ -765,6 +765,7 @@ ProcXvQueryImageAttributes(ClientPtr client)
765
766
/* allocating for `offsets` as well as `pitches` in one block */
767
/* both having CARD32 * num_planes (actually int32_t put into CARD32) */
768
+ __size_assert(int, sizeof(INT32));
769
int *offsets = x_rpcbuf_reserve(&rpcbuf, 2 * num_planes * sizeof(int));
770
if (!offsets)
771
return BadAlloc;
0 commit comments