Skip to content

xf86drm: cap devices reported by drmGetDevice(2) to max_devices

Emil Velikov requested to merge xexaxo/drm:get-devices-oob into master

Do as the documentation says - can up-to the requested amount. Otherwise we risk out-of-bound access for users of the API.

Issue: #56 (closed) Signed-off-by: Emil Velikov emil.l.velikov@gmail.com

Merge request reports

Loading