Remove indexing on layer_prop_list
authorCharles Giessen <charles@lunarg.com>
Fri, 23 Jun 2023 03:36:39 +0000 (21:36 -0600)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Fri, 23 Jun 2023 04:27:45 +0000 (22:27 -0600)
commit44211ff2337104a934555a869343b99f52e05815
tree4195a7d4987131a7826d8607667958e0cce3fd51
parentda7778dea71319e6f5efdeda1eb0679481fe482e
Remove indexing on layer_prop_list

The usage of the layer property list inside of
loader_check_layer_list_for_phys_dev_ext_address was modified when the
list changed from an array of struct loader_layer_properties, to an array
of pointers to struct loader_layer_properties. Except, the usages of
layer_prop_list were not updated in kind, leading to out of bounds indexes
when searching for unknown physical device functions in layers. This causes
crashes in the validation layer tests, which make use of this functionality.
loader/unknown_function_handling.c