lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	31 Mar 2009 09:23:51 +0200
From:	krzysztof.h1@...zta.fm
To:	Michal Januszewski <spock@...too.org>,
	linux-kernel@...r.kernel.org,
	linux-fbdev-devel@...ts.sourceforge.net
Subject: Re: [Linux-fbdev-devel] [PATCH] cirrusfb: fix color component length for pseudocolor modes

Michal Januszewski napisaƂ(a):
> cirrusfb incorrectly sets the length of the color fields to 6 bits
> for PSEUDOCOLOR modes, even though 8 bits are always used per pixel.
> Fix this by setting the length to 8.
> 
> Signed-off-by: Michal Januszewski >spock@...too.org>
> ---
> diff --git a/drivers/video/cirrusfb.c b/drivers/video/cirrusfb.c
> index a2aa6dd..2dfe0e7 100644
> --- a/drivers/video/cirrusfb.c
> +++ b/drivers/video/cirrusfb.c
> @@ -550,7 +550,7 @@ static int cirrusfb_check_var(struct fb_var_screeninfo
> *var,
>  
>  	case 8:
>  		var->red.offset = 0;
> -		var->red.length = 6;
> +		var->red.length = 8;
>  		var->green = var->red;
>  		var->blue = var->red;
>  		break;
> 

This is already fixed in the -mm tree (cirrusfb-check_var-improvements.patch).

Regards,
Krzysztof

----------------------------------------------------------------------
Widziales zajaca? Zgubil nagrody!
Sprawdz >>> http://link.interia.pl/f20e9

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ