Fix for buffer overrun
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'
Showing with 13 additions and 18 deletions