this repo has no description
1
fork

Configure Feed

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

mldr: Fix vchroot unexpansion for non-container paths

+1 -1
+1 -1
src/startup/mldr/stack.c
··· 98 98 else 99 99 { 100 100 // FIXME: potential buffer overflow 101 - memcpy(executable_buf, SYSTEM_ROOT, sizeof(SYSTEM_ROOT) - 1); 102 101 memmove(executable_buf + sizeof(SYSTEM_ROOT) - 1, executable_path, exepath_len + 1); 102 + memcpy(executable_buf, SYSTEM_ROOT, sizeof(SYSTEM_ROOT) - 1); 103 103 } 104 104 executable_path = executable_buf; 105 105 }