Age | Commit message (Collapse) | Author |
|
non-linear-graphics mode; found the hard way by
Yusuke Baba (babayaga1 , y8 dot dion dot ne dot jp), thanks for the report.
|
|
|
|
resolution, hsync, vsync etc) from the monitor using DDC.
Cleanup a whole bunch of magic,
ok deraadt
|
|
1. Add bounds checking to vga_pci_mmap, fixing a potential security issue.
Limit the amount of memory to what the vbe info structure says the card
card has. This should be nicely refined to limit to the amount of memory
needed by the active resolution and depth but this will do for the time
being.
2. Fix several places in vesafb.c where the return of kvm86_bios_addpage()
isnt being checked. Also ensure that if vesafb_get_mode_info() fails that it
cleans up after itself by releasing the page it added.
3. Correct the range checks in vesafb_putcmap and vesafb_getcmap, harmonize
code with similar code found else where.
ok miod@
|
|
ok miod@, gwk@, deraadt@
|
|
|
|
ok deraadt, "slap it in" miod@
|