• Colin Granville's avatar
    Limit n_names to fit in unsigned short · e7ce75bf
    Colin Granville authored
    Detail:
    n_names in Func_ReadDir1 can be larger than an unsigned short
    which cause problems when cast to an unsigned short for SMB
    notably 7Backup would go into an infinite loop.
    
    Other parameters to Func_ReadDir1 sanity checked.
    
    Admin:
    Tested with 7Backup from 7thSoftware and compiling and cleaning
    OmniLanManFS sources over LanManFS
    
    Version 2.65. Tagged as 'OmniLanManFS-2_65'
    e7ce75bf
CoreFn 26.9 KB