nicolas-cellier-aka-nice commented on this pull request.
@@ -213,7 +213,8 @@ ioInitSecurity(void)
if (imagePathLen) strncpy(secureUserDirectory, imageName, imagePathLen); else { - getwd(secureUserDirectory); +/*@@MUSL@@*/ + getcwd(secureUserDirectory, imagePathLen);
Does it work? We're passing `imagePathLen==0` here. Shouldn't it be the buffer size, `MAXPATHLEN`?