mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-11 23:30:41 +00:00
coverity: don't risk exec()ing NULL
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
parent
17d252a822
commit
d9b32b0900
@ -231,6 +231,9 @@ static bool criu_version_ok()
|
||||
exit(1);
|
||||
|
||||
path = on_path("criu", NULL);
|
||||
if (!path)
|
||||
exit(1);
|
||||
|
||||
execv(path, args);
|
||||
exit(1);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user