[PATCH:xbacklight] Fix reading backlight level on 64-bit systems (bug 63205)

Julien Cristau julien at cristau.org
Sun Apr 7 02:41:24 PDT 2013


On Sat, Apr  6, 2013 at 09:36:14 -0700, Alan Coopersmith wrote:

> From: Edward Sheldrake <ejsheldrake at gmail.com>
> 
> obviously incorrect output of "xbacklight -get":
> 51671552015166906368.000000
> 
> valgrind reports an invalid read of size 8 at xbacklight.c:91
> 
> https://bugs.freedesktop.org/show_bug.cgi?id=63205
> 
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> ---
>  xbacklight.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
Reviewed-by: Julien Cristau <jcristau at debian.org>

Cheers,
Julien


More information about the xorg-devel mailing list