lkml.org 
[lkml]   [2004]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateSat, 19 Jun 2004 11:28:00 +0200 (MEST)
FromGeert Uytterhoeven <>
SubjectRe: [Linux-fbdev-devel] 2.6.7 fbcon: set_con2fb on current console = crash
On Sat, 19 Jun 2004, Antonino A. Daplas wrote:
> Thanks. Actually there's still a critical flaw in the set_con2fbmap code.
> For one, con2fb_map is never initialized. It's just fortunate that this
> array happens to be filled with zeroes so con2fb_map[n] will always return
> zero and registered_fb[0] happens to contain a valid info. So it works, by
> accident.

According to the C standard, global variables are initialized to zero, unless
specified otherwise.

Gr{oetje,eeting}s,
Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
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 14:03    [from the cache]
©2003-2010