diff options
author | Ryan Mallon <rmallon@gmail.com> | 2012-01-28 08:51:40 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-03 09:19:00 -0800 |
commit | 3fc6b6671559d947f3f9a6d8829d3481a17934f4 (patch) | |
tree | 4d30a51a44530d56f874188a47a01df7ea432dce /drivers/usb/host/xhci-ring.c | |
parent | d5f0416d678ccf6e903002637c3bd9ce82ddb30f (diff) | |
download | kernel_samsung_smdk4412-3fc6b6671559d947f3f9a6d8829d3481a17934f4.zip kernel_samsung_smdk4412-3fc6b6671559d947f3f9a6d8829d3481a17934f4.tar.gz kernel_samsung_smdk4412-3fc6b6671559d947f3f9a6d8829d3481a17934f4.tar.bz2 |
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>
Diffstat (limited to 'drivers/usb/host/xhci-ring.c')
0 files changed, 0 insertions, 0 deletions