commit | 4fa42496753bdec97113a95652fa7d67fba40e99 | [log] [tgz] |
---|---|---|
author | Wedson Almeida Filho <wedsonaf@google.com> | Sat Aug 11 00:21:31 2018 +0100 |
committer | Wedson Almeida Filho <wedsonaf@google.com> | Sat Aug 11 00:21:31 2018 +0100 |
tree | c201241538eef3a93d02bc3292035f6d066f95bd | |
parent | ff3fa3b17a8a8033b0e1530870dc9dc0d298255d [diff] |
api changes. Change-Id: I24db80fd89b5ef843985cf3fa828094be0bcb11b
diff --git a/src/api.c b/src/api.c index c823ec0..6da649c 100644 --- a/src/api.c +++ b/src/api.c
@@ -311,6 +311,7 @@ struct vm *from = cpu()->current->vm; struct vm *to; const void *from_buf; + /* Basic argument validation. */ if (size > PAGE_SIZE) { return -1;