[NTFS]
authorTrevor Thompson <tmt256@email.vccs.edu>
Mon, 22 Aug 2016 08:11:12 +0000 (08:11 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 10 Dec 2017 10:14:10 +0000 (11:14 +0100)
commit8b893c8e30a6ea0fa46f745810f6c6d2eb6f6feb
tree8bc7aa14028d78ee3eeb3aa45c6553e3e5196291
parent920e2f02161f08274a27186b3dfa2e27e16203ad
[NTFS]
Add some fixes to attrib.c, as suggested by Pierre Schweitzer:
*ConvertLargeMCBToDataRuns() - Use MS portable type, ULONG, for variable i.
*FreeClusters(), AddRun() - Check for invalid parameter before allocating memory, and confirm the memory is allocated.
*ConvertDataRunsToLargeMCB(), AddRun() - Avoid code duplication by using ExRaiseStatus() in try block, and return accurate status via _SEH2_GetExceptionCode().

svn path=/branches/GSoC_2016/NTFS/; revision=72422
drivers/filesystems/ntfs/attrib.c