Bug 17692

Summary: [patch] Fix use of unassigned variable in _XkbSetDeviceInfoCheck
Product: xorg Reporter: Kim Woelders <kim>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
patch none

Description Kim Woelders 2008-09-21 05:05:07 UTC
In xkb/xkb.c - _XkbSetDeviceInfoCheck() the variable "change" is used without being assigned.
Attached patch fixes that (hunks 2+3, the other hunks are mostly cosmetic to eliminate other "change" variables, and access stuff->change consistently).
Comment 1 Kim Woelders 2008-09-21 05:06:55 UTC
Created attachment 19058 [details] [review]
patch
Comment 2 Peter Hutterer 2008-09-21 16:10:25 UTC
Pushed as 8c46505d7d91e0644b19cccc4b342fceb6f86cab. Thanks for the patch!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.