lkml.org 
[lkml]   [2003]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Linux-fbdev-devel] [PATCH] Logo crash

> The local variable palette_cmap.transp is not initialized, so it can contain
> garbage, causing a crash during logo drawing.
>
> --- linux-2.5.54/drivers/video/fbmem.c Thu Jan 2 12:54:58 2003
> +++ linux-m68k-2.5.54/drivers/video/fbmem.c Sun Jan 5 17:22:57 2003
> @@ -386,6 +386,7 @@
> palette_cmap.red = palette_red;
> palette_cmap.green = palette_green;
> palette_cmap.blue = palette_blue;
> + palette_cmap.transp = 0;
>
> for (i = 0; i < LINUX_LOGO_COLORS; i += n) {
> n = LINUX_LOGO_COLORS - i;

Applied.


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

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.038 / U:5.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site