diff options
| author | Ryan Mallon <[email protected]> | 2012-01-27 21:51:40 +0000 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2012-01-30 09:32:39 +0000 |
| commit | bf9c05d5b6d19b3e4c9fe21047694e94f48db89b (patch) | |
| tree | 0c5728cdd5ad4bcc8fb770a78d1521f1113f2d8a /lib/string_helpers.c | |
| parent | drm/radeon/kms: Fix device tree linkage of i2c buses (diff) | |
| download | kernel-bf9c05d5b6d19b3e4c9fe21047694e94f48db89b.tar.gz kernel-bf9c05d5b6d19b3e4c9fe21047694e94f48db89b.zip | |
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 <[email protected]>
Reviewed-by: Jakob Bornecrantz<[email protected]>
Cc: [email protected]
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
