Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c4f8b92246b4a2fd91a8ba0454d83b7c6d70fea1
      
https://github.com/WebKit/WebKit/commit/c4f8b92246b4a2fd91a8ba0454d83b7c6d70fea1
  Author: Elad Lahav <[email protected]>
  Date:   2024-02-06 (Tue, 06 Feb 2024)

  Changed paths:
    M Source/WTF/wtf/posix/OSAllocatorPOSIX.cpp

  Log Message:
  -----------
  Detect mmap() failure in OSAllocator::tryReserveUncommittedAligned()
https://bugs.webkit.org/show_bug.cgi?id=268713

Reviewed by Keith Miller

Bail out if tryReserveUncomitted() fails. This avoids a call to
munmap() on a large region that the call never allocated.

* Source/WTF/wtf/posix/OSAllocatorPOSIX.cpp:
(WTF::OSAllocator::tryReserveUncommittedAligned):

Canonical link: https://commits.webkit.org/274171@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to