this repo has no description
1
fork

Configure Feed

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

Use __simple_sprintf in sys_fcntl() to avoid dyld crashes

+1 -1
+1 -1
src/kernel/emulation/linux/fcntl/fcntl.c
··· 65 65 char buf[100]; 66 66 int len; 67 67 68 - sprintf(buf, "/proc/self/fd/%d", fd); 68 + __simple_sprintf(buf, "/proc/self/fd/%d", fd); 69 69 len = sys_readlink(buf, (char*) arg, MAXPATHLEN); 70 70 71 71 if (len >= 0)