[PATCH] D26312: Correct mprotect page boundries to round up end page. Fixes PR30905.
Keno Fischer via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 4 15:36:50 PDT 2016
loladiro accepted this revision.
loladiro added a comment.
This revision is now accepted and ready to land.
Yes, this is clearly a bug. LGTM. Though looking back at it, perhaps the rounding to page size should happen in the caller of `protectMappedMemory` rather than in that function itself, but that's independent of the bug fix.
More information about the llvm-commits