• Robert Sprowson's avatar
    Fix for buffer overrun · a596ce3c
    Robert Sprowson authored
    The PRM entry for Free reason 1 is very vague, it requires the length of the drive name including a terminator, not strlen() of the drive name. Free uses this directly to allocate RMA to copy into (though for drive names that aren't a multiple of 8 we're saved by OS_Module rounding up claims).
    Also use Free SWI values from headers rather than defining them again locally.
    Version 2.54. Tagged as 'LanManFS-2_54'
Omni 44.8 KB