[webkit-changes] [WebKit/WebKit] 8d6284: Addresses may not be persistent across calls to pa...

David Degazio noreply at github.com
Tue Apr 9 15:39:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8d6284de0e3fef99a91c909e2bb9ffe1c4064f6f
      https://github.com/WebKit/WebKit/commit/8d6284de0e3fef99a91c909e2bb9ffe1c4064f6f
  Author: David Degazio <d_degazio at apple.com>
  Date:   2024-04-09 (Tue, 09 Apr 2024)

  Changed paths:
    M Source/bmalloc/libpas/src/libpas/pas_enumerator.c

  Log Message:
  -----------
  Addresses may not be persistent across calls to pas_enumerator_reader
https://bugs.webkit.org/show_bug.cgi?id=272404
rdar://125072587

Reviewed by Yusuke Suzuki.

Stores the results of calling the reader function in pas_enumerator_create
locally as opposed to referencing the remote memory. This reduction in
indirection means changes to the enumerating process' mapping of the remote
memory will no longer cause values the enumerator is actively using (such
as the pas_root) to become unmapped.

* Source/bmalloc/libpas/src/libpas/pas_enumerator.c:
(pas_enumerator_create):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list