Re: [PATCH weston] gl-renderer: Fix crash in dmabuf format query for fallback formats

2018-02-12 Thread Daniel Stone
Hi Philipp, On 9 February 2018 at 20:59, Philipp Kerling wrote: > Since formats is an out parameter, we need to copy to the alloc'ed > memory and not over the pointer address. Oops, right you are. Reviewed and pushed, thanks! Cheers, Daniel ___ waylan

[PATCH weston] gl-renderer: Fix crash in dmabuf format query for fallback formats

2018-02-09 Thread Philipp Kerling
Since formats is an out parameter, we need to copy to the alloc'ed memory and not over the pointer address. Signed-off-by: Philipp Kerling --- libweston/gl-renderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libweston/gl-renderer.c b/libweston/gl-renderer.c index 371e0