[lxc-devel] [lxc/lxc] ebb088: c/r: initialize migrate_opts properly
GitHub
noreply at github.com
Mon Jul 11 20:52:28 UTC 2016
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: ebb088e115fd81f86602af8a386ee41470c71a73
https://github.com/lxc/lxc/commit/ebb088e115fd81f86602af8a386ee41470c71a73
Author: Adrian Reber <areber at redhat.com>
Date: 2016-07-11 (Mon, 11 Jul 2016)
Changed paths:
M src/lxc/lxccontainer.c
Log Message:
-----------
c/r: initialize migrate_opts properly
The commit "c/r: add support for CRIU's --action-script" breaks
lxc-checkpoint on the command-line. It produces errors like:
sh: $'\260\366\b\001': command not found
and then it fails. src/lxc/criu.c expects migrate_opts->action_script to
be either NULL, then it is ignored, or to actually contain the name of
an action scripts.
As the struct migrate_opts has not static storage is has to be explicitly
initialized or the value of the structure's members is indeterminate.
Signed-off-by: Adrian Reber <areber at redhat.com>
Commit: 9e390993d4826007bbd6ba5e5f53ee31084b527c
https://github.com/lxc/lxc/commit/9e390993d4826007bbd6ba5e5f53ee31084b527c
Author: Christian Brauner <cbrauner at suse.de>
Date: 2016-07-11 (Mon, 11 Jul 2016)
Changed paths:
M src/lxc/lxccontainer.c
Log Message:
-----------
Merge pull request #1077 from adrianreber/init
c/r: initialize migrate_opts properly
Compare: https://github.com/lxc/lxc/compare/c7d5c3e5083e...9e390993d482
More information about the lxc-devel
mailing list