Fix boundary bugs on buffer lengths. Include null char in MAX_LONGPATH.
authorLakshmi Priya Sekar <lasekar@microsoft.com>
Mon, 19 Oct 2015 18:01:24 +0000 (11:01 -0700)
committerLakshmi Priya Sekar <lasekar@microsoft.com>
Wed, 21 Oct 2015 00:11:24 +0000 (17:11 -0700)
commit3da3a16da667a59662f58c5388f281bee5b83d7c
treec41da83b5ff7255412e1599e3073e4fa85cddccf
parent3ce46076e80567cb6384d4d9085f860d3d4366d4
Fix boundary bugs on buffer lengths. Include null char in MAX_LONGPATH.

Commit migrated from https://github.com/dotnet/coreclr/commit/fdbd0a799c370d7fcf3832e04819c5ec9d85b6a7
src/coreclr/src/pal/src/file/file.cpp
src/coreclr/src/pal/src/file/path.cpp
src/coreclr/src/pal/src/loader/module.cpp
src/coreclr/src/pal/src/misc/perftrace.cpp
src/coreclr/src/pal/tests/palsuite/file_io/SearchPathA/test1/SearchPathA.c