mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
Fix 'mnt_path' may be used uninitialized in this function
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
7f75e74ae7
commit
b64159acdd
2
mount.c
2
mount.c
@@ -2280,7 +2280,7 @@ static int do_bind_mount(struct mount_info *mi)
|
|||||||
int exit_code = -1;
|
int exit_code = -1;
|
||||||
bool shared = false;
|
bool shared = false;
|
||||||
bool master = false;
|
bool master = false;
|
||||||
char *mnt_path;
|
char *mnt_path = NULL;
|
||||||
struct stat st;
|
struct stat st;
|
||||||
bool umount_mnt_path = false;
|
bool umount_mnt_path = false;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user