diff options
author | Jason Ekstrand <[email protected]> | 2018-06-06 09:59:25 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-06-07 11:23:34 -0700 |
commit | 3b54dd87f707a0fa40a1555bee64aeb06a381c27 (patch) | |
tree | 8dd998c70301a0dc53fbcf0d2451e87587878aa6 /.gitignore | |
parent | 778e2881a04817e8c10c7a400bf1e37414420194 (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]>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions