aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'executor/executor.cc')
-rw-r--r--executor/executor.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/executor/executor.cc b/executor/executor.cc
index 6569326d3..c0d549c0a 100644
--- a/executor/executor.cc
+++ b/executor/executor.cc
@@ -585,6 +585,7 @@ retry:
}
case arg_data: {
uint64 size = read_input(&input_pos);
+ size &= ~(1ull << 63); // readable flag
NONFAILING(memcpy(addr, input_pos, size));
// Read out the data.
for (uint64 i = 0; i < (size + 7) / 8; i++)