Issue 24: Fix for "Memory allocation error! Addr=0xdeadbeef, Size=0x0" - if no VESA resolution defined in

Reported by Al Schar, Jul 13, 2010

Bootloader stops with Memory allocation error! Addr=0xdeadbeef, 
Size=0x0 if no Graphics Mode is set in

Conti has fixed this in gui.c for his myhack installer for months. I 
add the corrected gui.c 

The fix is added lines 589-596  and changed  1700-1711

Comment 1 by blackosx, Jul 15, 2010

Thanks for pointing out Conti's fix Al Schar (Thanks Conti), I have 
added it to my branch. It fixed an issue where i was using a theme 
with a blank value for screen_height/screen_width.

Comment 2 by Tamás Kosárszky, Jul 16, 2010

A similar patch has been committed to the trunk as well. I think 
it's better to initialize the screen_params[] with proper default 
values and possibly override the dimensions with validated input 
Status: Fixed

Created: 11 years 3 months ago by Al Schar

Updated: 11 years 3 months ago

Status: Fixed

Followed by: 2 persons