aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorRyan Mallon <rmallon@gmail.com>2012-01-28 08:51:40 +1100
committerDave Airlie <airlied@redhat.com>2012-01-30 09:32:39 +0000
commitbf9c05d5b6d19b3e4c9fe21047694e94f48db89b (patch)
tree0c5728cdd5ad4bcc8fb770a78d1521f1113f2d8a /init
parent1ffd57c1da2a73b0a0e5cd7a6dd52cc49e36bef9 (diff)
vmwgfx: Fix assignment in vmw_framebuffer_create_handle
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> Cc: stable@vger.kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions