[CRIU] [PATCH 01/16] restorer: Fix bug in address computation of thread args area

Cyrill Gorcunov gorcunov at openvz.org
Fri Mar 30 18:46:19 EDT 2012


It's bloody wrong to treat thread_args as arguments
area (I managed to overlook this problem in commit
014841825acb14a1d695569b9fe3575f5de6442b).

Because when we restore threads this bug overwrites
a couple of function prologue bytes it passed unnoticed,
but in case of bunch of threads this might lead into
unpredicted results.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
CC: Andrey Vagin <avagin at openvz.org>
---
 cr-restore.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-restorer-Fix-bug-in-address-computation-of-thread-ar.patch
Type: text/x-patch
Size: 703 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120331/7a79f23e/0001-restorer-Fix-bug-in-address-computation-of-thread-ar-0001.bin


More information about the CRIU mailing list