aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
Diffstat (limited to 'executor')
-rw-r--r--executor/common_zlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/common_zlib.h b/executor/common_zlib.h
index fdbd9d4b6..a7eacfc10 100644
--- a/executor/common_zlib.h
+++ b/executor/common_zlib.h
@@ -494,5 +494,5 @@ static int puff_zlib_to_file(const unsigned char* source, unsigned long sourcele
return -1;
}
// Unmap memory-mapped region
- return munmap(dest, destlen);
+ return munmap(dest, max_destlen);
}