Signed-off-by: Tomek Grabiec <[email protected]>
---
vm/guard-page.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vm/guard-page.c b/vm/guard-page.c
index 420230a..f47c936 100644
--- a/vm/guard-page.c
+++ b/vm/guard-page.c
@@ -37,8 +37,8 @@
* alloc_offset_guard - allocates a memory region with two
* sub-regions. The first one contains addresses from [0:valid_size[
* with access allowed. The second region contains addresses
- * [valid_size:overflow_size[ and access to this region triggers
- * SIGSEGV.
+ * [valid_size:valid_size + overflow_size[ and access to this region
+ * triggers SIGSEGV.
*/
void *alloc_offset_guard(unsigned long valid_size, unsigned long overflow_size)
{
--
1.6.0.6
------------------------------------------------------------------------------
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel