this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Always provide absolute path in executable_path in apple[0]

+8 -1
+8 -1
src/dyld/mldr.c
··· 426 426 { 427 427 static char apple0[4096] = "executable_path="; 428 428 429 - strcat(apple0, filepath); 429 + if (filepath[0] == '/') 430 + strcat(apple0, filepath); 431 + else 432 + { 433 + char* path = realpath(filepath, NULL); 434 + strcat(apple0, path); 435 + free(path); 436 + } 430 437 431 438 return apple0; 432 439 }