• Jeffrey Lee's avatar
    Fix buffer overflow in *cat when dealing with long paths. Fix spurious errors... · ccea391b
    Jeffrey Lee authored
    Fix buffer overflow in *cat when dealing with long paths. Fix spurious errors when examining files with certain load addresses
    
    Detail:
      s/CtrlUtils - Increase MaxFilenameSpace (used to reserve stack space for *cat directory path) from 400 bytes to StaticName_length (i.e. 1K)
      s/FileTypes - Avoid IsFileTyped erroneously returning with V set if r2 is within a certain range (e.g. &7ff00000). Now all exits go via code that ensures V is clear.
    Admin:
      Tested on Raspberry Pi
    
    
    Version 2.83. Tagged as 'FileSwitch-2_83'
    ccea391b
CtrlUtils 40.3 KB