Chameleon

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

Reported by Al Schar, Jul 13, 2010

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

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. 

http://forge.voodooprojects.org/p/chameleon/source/commit/180/

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 
values.

http://forge.voodooprojects.org/p/chameleon/source/commit/181/
Status: Fixed

Created: 13 years 9 months ago by Al Schar

Updated: 13 years 9 months ago

Status: Fixed

Followed by: 2 persons

Labels:
Priority:Medium
Type:Defect