summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-06-06 09:59:25 -0700
committerDylan Baker <[email protected]>2018-06-08 10:19:54 -0700
commitc2e44a35407658c5e358d67c5d70e6e87c528678 (patch)
tree39471ffe32d6fa1bb93c402875431ab564720a2a /src/Makefile.am
parent0046ee83d7efcda90206b513bd75f1c9867d8f24 (diff)
intel/isl: Add bounds-checking assertions for the format_info table
We follow the same convention as isl_format_get_layout in having two assertions to ensure that only valid formats are passed in. We also check against the array size of the table because some valid formats such as CCS formats will may be past the end of the table. This fixes some potential out-of-bounds array access even in valid cases. Cc: [email protected] Reviewed-by: Lionel Landwerlin <[email protected]> (cherry picked from commit 45c05a7cee32990feda89685f1080b7251fa1a59)
Diffstat (limited to 'src/Makefile.am')
0 files changed, 0 insertions, 0 deletions