We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a435bfe + 290d1c0 commit c2608fbCopy full SHA for c2608fb
opal/util/os_path.c
@@ -59,7 +59,7 @@ char *opal_os_path(int relative, ...)
59
if (relative) {
60
path[0] = '.';
61
}
62
- strncat(path, path_sep, len);
+ strncat(path, path_sep, len - 1);
63
return(path);
64
65
0 commit comments