-
Andrey Vagin authored
cmd is declarated in parasite-head-x86-64.S __export_parasite_cmd: .long 0 Its size is 4 bytes, so it should be int instead of long. This patch fixes a bug in parasite execute, where a part of args are overwritten by cmd. memcpy(ctl->addr_cmd, &cmd, sizeof(cmd)); Reported-by:
Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by:
Andrey Vagin <avagin@openvz.org> Acked-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
30f0acb4