Re: [Mesa-dev] [PATCH] gbm: Assert modifiers and count are copacetic

2017-04-06 Thread Jason Ekstrand
Seems reasonable Reviewed-by: Jason Ekstrand On Thu, Apr 6, 2017 at 8:56 PM, Ben Widawsky wrote: > The API/entry point in mesa already checks the correct behavior, > however, it's possible to be handled by another implementation and those > implementations should not be able to abuse a weird c

[Mesa-dev] [PATCH] gbm: Assert modifiers and count are copacetic

2017-04-06 Thread Ben Widawsky
The API/entry point in mesa already checks the correct behavior, however, it's possible to be handled by another implementation and those implementations should not be able to abuse a weird combination of count and pointer. This fixes CID 1403193 Cc: Mark Janes Signed-off-by: Ben Widawsky ---