GPUCORE-39469 Error handling for invalid slot when parsing trace data

If a slot number parsed from trace data exceeds the number of supported
CSG slots, the trace data must be discarded. Otherwise the access to
the invalid memory address could happen.

Bug: 304341806
Provenance: https://code.ipdelivery.arm.com/c/GPU/mali-ddk/+/6057
Signed-off-by: Jörg Wagner <jorwag@google.com>
Change-Id: I8e702e7487f2bea3618f2fe8ad696a1b546f10f2
1 file changed
tree: d8df3aa15593fe29df15e8af4054c7f93de3a17f
  1. common/
  2. mali_kbase/
  3. mali_pixel/