diff options
author | Ryan Mallon <rmallon@gmail.com> | 2012-01-28 08:51:40 +1100 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-02-08 14:06:06 -0800 |
commit | 28a9f84ee73f14ff81920c3d0adeb180f5d927e5 (patch) | |
tree | bedcfaf64bffa1ff80d42482522335459f69adf0 /drivers/usb/misc | |
parent | 79e5cc49e53bd2c2f8879378b654236672078ab6 (diff) |
vmwgfx: Fix assignment in vmw_framebuffer_create_handle
commit bf9c05d5b6d19b3e4c9fe21047694e94f48db89b upstream.
The assignment of handle in vmw_framebuffer_create_handle doesn't actually do anything useful and is incorrectly assigning an integer value to a pointer argument. It appears that this is a typo and should be dereferencing handle rather than assigning to it directly. This fixes a bug where an undefined handle value is potentially returned to user-space.
Signed-off-by: Ryan Mallon <rmallon@gmail.com>
Reviewed-by: Jakob Bornecrantz<jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Change-Id: Ied5d71b218f0d9ec87cce2ebd8fd11002decece3
Reviewed-on: http://git-master/r/79678
Diffstat (limited to 'drivers/usb/misc')
0 files changed, 0 insertions, 0 deletions