mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
rst: Don't allocate PATH_MAX for /proc/self realink
Pid is 10 chars maximum. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -1357,7 +1357,7 @@ static int restore_task_with_children(void *_arg)
|
||||
current = ca->item;
|
||||
|
||||
if (current != root_item) {
|
||||
char buf[PATH_MAX];
|
||||
char buf[12];
|
||||
int fd;
|
||||
|
||||
/* Determine PID in CRIU's namespace */
|
||||
|
Reference in New Issue
Block a user