Bug 63205

Summary: xbacklight 1.2.0 prints garbage value for backlight level
Product: xorg Reporter: Edward Sheldrake <ejsheldrake>
Component: App/xbacklightAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
fix none

Description Edward Sheldrake 2013-04-06 12:42:19 UTC
Created attachment 77521 [details]
fix

obviously incorrect output of "xbacklight -get":
51671552015166906368.000000

valgrind reports an invalid read of size 8 at xbacklight.c:91
Comment 1 Alan Coopersmith 2013-04-06 16:36:42 UTC
Thanks, patch sent to xorg-devel for review.
Comment 2 Alan Coopersmith 2013-04-09 06:03:08 UTC
Patch pushed to git master for the next release:

To ssh://git.freedesktop.org/git/xorg/app/xbacklight
   36ffc5e..5d7642f  master -> master

http://cgit.freedesktop.org/xorg/app/xbacklight/commit/?id=5d7642ffd0de1d6037f6f98b8733e8a8161e24d3

Thanks for the fix!

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.