@nicolas-cellier-aka-nice commented on this pull request.


In platforms/unix/plugins/SecurityPlugin/sqUnixSecurity.c:

> @@ -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?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.