summaryrefslogtreecommitdiff
path: root/src/binder
diff options
context:
space:
mode:
Diffstat (limited to 'src/binder')
-rw-r--r--src/binder/assemblyname.cpp2
-rw-r--r--src/binder/cdebuglog.cpp4
-rw-r--r--src/binder/inc/bindertypes.hpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/binder/assemblyname.cpp b/src/binder/assemblyname.cpp
index 3821b5c5a3..f65363de63 100644
--- a/src/binder/assemblyname.cpp
+++ b/src/binder/assemblyname.cpp
@@ -117,7 +117,7 @@ namespace BINDER_SPACE
assemblyName.Normalize();
COUNT_T assemblyNameLength = assemblyName.GetCount();
- if (assemblyNameLength == 0 || assemblyNameLength >= MAX_PATH)
+ if (assemblyNameLength == 0 || assemblyNameLength >= MAX_PATH_FNAME)
{
IF_FAIL_GO(FUSION_E_INVALID_NAME);
}
diff --git a/src/binder/cdebuglog.cpp b/src/binder/cdebuglog.cpp
index e6dcefd77f..717fbd2ef9 100644
--- a/src/binder/cdebuglog.cpp
+++ b/src/binder/cdebuglog.cpp
@@ -56,11 +56,11 @@ namespace BINDER_SPACE
{
HRESULT hr=S_OK;
LPTSTR pszFileName;
- TCHAR szPath[MAX_PATH];
+ TCHAR szPath[MAX_LONGPATH];
DWORD dw = 0;
// _ASSERTE (pszPath ) ;
- if (wcslen(pszName) >= MAX_PATH)
+ if (wcslen(pszName) >= MAX_LONGPATH)
{
IF_FAIL_GO(HRESULT_FROM_WIN32(ERROR_BUFFER_OVERFLOW));
}
diff --git a/src/binder/inc/bindertypes.hpp b/src/binder/inc/bindertypes.hpp
index 97ea1db432..3c4bed4514 100644
--- a/src/binder/inc/bindertypes.hpp
+++ b/src/binder/inc/bindertypes.hpp
@@ -32,7 +32,7 @@ class PEAssembly;
namespace BINDER_SPACE
{
- typedef InlineSString<MAX_PATH + 1> PathString;
+ typedef InlineSString<MAX_LONGPATH + 1> PathString;
class AssemblyVersion;
class AssemblyName;