projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af03b04
)
Pass length to PathCharString.Append on SunOS (#40928)
author
Adeel Mujahid
<adeelbm@outlook.com>
Mon, 17 Aug 2020 21:10:39 +0000
(
00:10
+0300)
committer
GitHub
<noreply@github.com>
Mon, 17 Aug 2020 21:10:39 +0000
(23:10 +0200)
src/coreclr/src/pal/src/init/pal.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/pal/src/init/pal.cpp
b/src/coreclr/src/pal/src/init/pal.cpp
index
fc3d7a6
..
b71c537
100644
(file)
--- a/
src/coreclr/src/pal/src/init/pal.cpp
+++ b/
src/coreclr/src/pal/src/init/pal.cpp
@@
-1376,7
+1376,7
@@
bool GetEntrypointExecutableAbsolutePath(PathCharString& entrypointExecutable)
{
entrypointExecutable.Set(cwd, strlen(cwd));
entrypointExecutable.Append('/');
- entrypointExecutable.Append(path);
+ entrypointExecutable.Append(path
, strlen(path)
);
result = true;
free(cwd);