• Stewart Brodie's avatar
    Fixed host application overwrite/data abort on wimpslot overrun. · 6a4d2fff
    Stewart Brodie authored
      Fixed filetype failure (RISC OS build)
    Detail:
      If the application memory limit for a squeezed application was large
        enough to hold the squeezed code but not large enough to hold the
        unsqueezed version without overwriting the calling application
        (eg.  the C compiler being too large to fit under amu), then
        everything would die nastily.  This fix to the unsqueeze code
        verifies that the calling program will not be overwritten and
        aborts the unsqueeze operation before disaster strikes.
      RISC OS builds remember to retype the file after saving.
    Admin:
      Tested by forcing amu to launch a newly-squeezed cc image in the
        appropriate memory conditions, and cc generates an error before
        unsqueezing and killing amu.
      Verified that UnSqueezeAIF still recognises and patches the unsqueeze
        code for StrongARM compatibility.
    
    Version 5.02. Tagged as 'squeeze-5_02'
    6a4d2fff
VersionNum 424 Bytes