this repo has no description
1
fork

Configure Feed

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

Fix a crash in mldr when environment is completely empty

+8 -1
+8 -1
src/startup/mldr.c
··· 135 135 argv[i-1] = p; 136 136 p += len+1; 137 137 } 138 - memset(p, 0, envp[0]-p); 138 + 139 + if (envp[0] != NULL) 140 + memset(p, 0, envp[0]-p); 141 + else 142 + { 143 + while (*p) 144 + *p++ = '\0'; 145 + } 139 146 argv[--argc] = NULL; 140 147 141 148 #if __i386__ || __x86_64__