Author: quozl Date: Tue Sep 13 05:31:18 2011 New Revision: 2506 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2506 Log: OLPC XO - fix stack imbalance when bad firmware image file detected, image length left behind. Modified: cpu/x86/pc/olpc/security.fth Modified: cpu/x86/pc/olpc/security.fth ============================================================================== --- cpu/x86/pc/olpc/security.fth Mon Sep 12 04:06:15 2011 (r2505) +++ cpu/x86/pc/olpc/security.fth Tue Sep 13 05:31:18 2011 (r2506) @@ -968,7 +968,8 @@ tuck flash-buf swap move ( len ) - ['] ?image-valid catch ?dup if ( ) + ['] ?image-valid catch ?dup if ( x error# ) + nip visible red-letters ." Bad firmware image file - " .error
participants (1)
-
repository service