Quoting Matthew Auld (2018-05-02 19:16:17)
> Operating on a zero sized GEM userptr object will lead to explosions.
>
> Fixes: 5cc9ed4b9a7a ("drm/i915: Introduce mapping of user pages into video
> memory (userptr) ioctl")
> Signed-off-by: Matthew Auld <[email protected]>
> Cc: Chris Wilson <[email protected]>
I could find no "but..." to save the day, so yes, it does look like we
would let a 0 sized object through to the guts that never expect to see
such a thing.
Reviewed-by: Chris Wilson <[email protected]>
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx