2017-01-13 Laurent Pinchart <[email protected]>:

> Hi Gustavo,
> 
> Thank you for the patch.
> 
> On Friday 13 Jan 2017 12:22:09 Gustavo Padovan wrote:
> > From: Gustavo Padovan <[email protected]>
> > 
> > Currently if the userspace declares a int variable to store the out_fence
> > fd and pass it to OUT_FENCE_PTR the kernel will overwrite the 32 bits
> > above the int variable on 64 bits systems.
> > 
> > Fix this by making the internal storage of out_fence in the kernel a s32
> > pointer.
> > 
> > Reported-by: Chad Versace <[email protected]>
> > Signed-off-by: Gustavo Padovan <[email protected]>
> > Cc: Daniel Vetter <[email protected]>
> > Cc: Rafael Antognolli <[email protected]>
> > Cc: Laurent Pinchart <[email protected]>
> 
> Acked-by: Laurent Pinchart <[email protected]>
> 
> > Cc: [email protected]
> 
> I don't think this is needed, given that the code was merged in v4.10-rc1, 
> and 
> this patch should be merged as a v4.10-rc fix.

Hmm, yeah. I got confused.

Gustavo

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to