• Petr Vandrovec's avatar
    [PATCH] 2.5.24 matroxfb memory corruption · 623568bf
    Petr Vandrovec authored
      When James converted all drivers to unified do_install_cmap(), he
    blindly changed also matroxfb, which happily uses fbcon.currcon == -1.
    This caused memory corruption because of memory before fb_display[]
    array was overwritten.
    
      Default do_install_cmap() also installed invalid default color map in
    some matroxfb resolutions.  Not all world have >= 4bpp.
    623568bf
matroxfb_base.c 81.4 KB