diff options
Diffstat (limited to 'syscall.c')
-rw-r--r-- | syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -57,7 +57,7 @@ argptr(int n, char **pp, int size) if(argint(n, &i) < 0) return -1; - if((uint)i >= proc->sz || (uint)i+size >= proc->sz) + if((uint)i >= proc->sz || (uint)i+size > proc->sz) return -1; *pp = (char*)i; return 0; |