• Jeffrey Lee's avatar
    Update to work with zero page relocation · 0b0a3063
    Jeffrey Lee authored
    Detail:
      s/FileSwBody, s/FileSwHdr - Try getting DomainId pointer via OS_ReadSysInfo 6 before falling back on legacy address. Store result in workspace for speedy lookup.
      s/FSCommon - Use workspace DomainId pointer
      s/CtrlUtils - Update int_ConstructFullPathWithoutFSAndSpecial to not attempt to append the contents of null string pointers.
      s/FSControl - Update AppendStringIfNotNull to ignore null pointers
      s/LowLevel - Update CallFSFile_Given to not try copying from null special field strings
    Admin:
      Tested on rev A2 BB-xM.
      AFAIK the null pointer bugs are all FileSwitch bugs and not bugs in whatever called FileSwitch, although I may be wrong. Not entirely sure how some of the code managed to read strings from null pointers without creating garbage filenames as a result!
    
    
    Version 2.68. Tagged as 'FileSwitch-2_68'
    0b0a3063
CtrlUtils 40.5 KB