Skip to content

intel/tools/error2aub: Fix potential out of bounds read

intel/tools/error2aub: Fix potential out of bounds read

Originally the engines size was set to I915_ENGINE_CLASS_VIDEO + 1, where video was the largest value, and INVALID had a value of -1. Since then a COMPUTE member was added to the enum, and the INTEL_ENGINE class moved invalid to the last value.

CID: 1530425

Merge request reports