[OpenBIOS] [PATCH 1/2] iso9660: Fix Forth return value for iso9660_files_open()

Blue Swirl blauwirbel at gmail.com
Thu Sep 30 19:56:32 CEST 2010


On Thu, Sep 30, 2010 at 9:50 AM, Mark Cave-Ayland
<mark.cave-ayland at siriusit.co.uk> wrote:
> Blue Swirl wrote:
>
>> Since r872  I can use iso9660 without a crash on Sparc32. One issue
>> was that there were no problems when using nographic, but with
>> graphical console the crashes would happen. Avoiding a lot of
>> malloc/free traffic when writing to screen seems to help, but the
>> underlying bug that corrupts ofmem probably still lurks somewhere.
>
> Ah that's good to know :)  Although I don't think it's (just?) an ofmem bug,
> because SPARC32 doesn't use ofmem yet - we're still waiting for you to do
> the conversion! ;D

I meant the struct ofmem in arch/sparc32/lib.c, the fields get strange
values. Calling free() with memory that was not allocated by malloc()
or with a pointer to the middle of the block could be suspect, but I
don't see any of those.



More information about the OpenBIOS mailing list