Skip to content
  • Adam Jackson's avatar
    Fix a buffer overrun on machines with excessively large PCI busses. · d322608d
    Adam Jackson authored
    Formerly we sized an array with a compile time constant, then initialized
    its size to the same constant, but the Linux PCI init code would increase
    that "constant".  So if you happened to have more than 128 PCI devices,
    you'd happily scribble into whatever variables happened to be in .bss
    after that array.
    
    Only really fixed for Linux atm.  Other OSes will simply (still) fail to
    work on video devices above the 128th PCI device.
    d322608d