Commit d66b7ec1 authored by Łukasz Spintzyk's avatar Łukasz Spintzyk
Browse files

xfree86: Fix out of array bound access to xf86Entities

Signed-off-by: Łukasz Spintzyk's avatarŁukasz Spintzyk <>
parent 0d93bbfa
Pipeline #346753 passed with stages
in 9 minutes and 33 seconds
......@@ -528,8 +528,8 @@ xf86GetDevFromEntity(int entityIndex, int instance)
for (i = 0; i < xf86Entities[entityIndex]->numInstances; i++)
if (xf86Entities[entityIndex]->devices[i]->screen == instance)
return xf86Entities[entityIndex]->devices[i];
return xf86Entities[entityIndex]->devices[i];
return NULL;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment