Re: [patch] vmwgfx: information leak in vmw_execbuf_copy_fence_user()

2011-10-19 Thread Vasiliy Kulikov
On Tue, Oct 18, 2011 at 09:10 +0300, Dan Carpenter wrote: > If ret is non-zero then we don't initialize the struct which leaks > stack information to user space. > > Signed-off-by: Dan Carpenter Reviewed-by: Vasiliy Kulikov > diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c > b/drivers/gp

[patch] vmwgfx: information leak in vmw_execbuf_copy_fence_user()

2011-10-19 Thread Dan Carpenter
If ret is non-zero then we don't initialize the struct which leaks stack information to user space. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c b/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c index d4a1d8b..28e1c35 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_execb

[patch] vmwgfx: information leak in vmw_execbuf_copy_fence_user()

2011-10-18 Thread Vasiliy Kulikov
On Tue, Oct 18, 2011 at 09:10 +0300, Dan Carpenter wrote: > If ret is non-zero then we don't initialize the struct which leaks > stack information to user space. > > Signed-off-by: Dan Carpenter Reviewed-by: Vasiliy Kulikov > diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c > b/drivers/gp

[patch] vmwgfx: information leak in vmw_execbuf_copy_fence_user()

2011-10-18 Thread Dan Carpenter
If ret is non-zero then we don't initialize the struct which leaks stack information to user space. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c b/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c index d4a1d8b..28e1c35 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_execb

[patch] vmwgfx: information leak in vmw_execbuf_copy_fence_user()

2011-10-18 Thread Thomas Hellstrom
On 10/18/2011 08:10 AM, Dan Carpenter wrote: > If ret is non-zero then we don't initialize the struct which leaks > stack information to user space. > > Signed-off-by: Dan Carpenter > Reviewed-by: Thomas Hellstrom > diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c > b/drivers/gpu/drm/vm

Re: [patch] vmwgfx: information leak in vmw_execbuf_copy_fence_user()

2011-10-17 Thread Thomas Hellstrom
On 10/18/2011 08:10 AM, Dan Carpenter wrote: If ret is non-zero then we don't initialize the struct which leaks stack information to user space. Signed-off-by: Dan Carpenter Reviewed-by: Thomas Hellstrom diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c b/drivers/gpu/drm/vmwgfx/vmwg