[Webkit-unassigned] [Bug 130237] Crashes on PPC64 due to mprotect() on address not aligned to the page size
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 8 08:03:01 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=130237
--- Comment #9 from Darin Adler <darin at apple.com> ---
Comment on attachment 266803
--> https://bugs.webkit.org/attachment.cgi?id=266803
Make commitSize at least as big as the page size (v2)
View in context: https://bugs.webkit.org/attachment.cgi?id=266803&action=review
> Source/JavaScriptCore/interpreter/JSStack.cpp:48
> + static size_t size = 0;
> + if (!size)
> + size = std::max(16 * 1024, getpagesize());
> + return size;
The check for 0 here is unneeded and unhelpful. This should just be:
static size_t size = std::max<size_t>(16 * 1024, pageSize());
return size;
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151208/fd7aaade/attachment.html>
More information about the webkit-unassigned
mailing list