Thread (2 messages) 2 messages, 2 authors, 2003-01-05

Re: [Linux-fbdev-devel] [PATCH] Logo crash

flat view

From: James Simmons <hidden>
Date: 2003-01-05 20:30:45
Also in: lkml

quoted hunk ↗ jump to hunk
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help