[CRIU] [PATCH 2/2] restore: Return error instead of BUG_ON on image corruption

Cyrill Gorcunov gorcunov at openvz.org
Mon Mar 25 04:54:02 EDT 2013


In case if there image corruption and page entry addres
is invalid -- exit out gracefully instead of BUG_ON hammer.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 cr-restore.c | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-restore-Return-error-instead-of-BUG_ON-on-image-corr.patch
Type: text/x-patch
Size: 1322 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130325/5997b75f/attachment.bin>


More information about the CRIU mailing list