• Colin Granville's avatar
    Limit n_names to fit in unsigned short · e7ce75bf
    Colin Granville authored
    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.
    Tested with 7Backup from 7thSoftware and compiling and cleaning
    OmniLanManFS sources over LanManFS
    Version 2.65. Tagged as 'OmniLanManFS-2_65'
VersionNum 681 Bytes