Skip to content

panfrost: Don't crash on panfrost_bo_create() with size==0 invocation

  1. Clamp bucket_index from both ends to avoid returning negative index.
  2. Return NULL in case BO allocation/fetching failure to prevent invalid bo mapping.

Closes: #6247 (closed)

Merge request reports