Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7536af6d67362af9f42ef97b140752ee0a107c38
      
https://github.com/WebKit/WebKit/commit/7536af6d67362af9f42ef97b140752ee0a107c38
  Author: Yijia Huang <[email protected]>
  Date:   2025-01-07 (Tue, 07 Jan 2025)

  Changed paths:
    M Source/bmalloc/bmalloc/TZoneHeapManager.cpp

  Log Message:
  -----------
  [bmalloc] Fix misalignment issue for seedPtr in TZoneHeapManager::init()
https://bugs.webkit.org/show_bug.cgi?id=285544
rdar://142489488

Reviewed by Yusuke Suzuki.

The 8-byte pointer `seedPtr` in TZoneHeapManager::init() is used
to copy 8 bytes from `seed` each time. This patch ensures that `seed`
is 8-byte aligned to mitigate the misalignment issue and prevent
undefined behavior during pointer dereferencing.

* Source/bmalloc/bmalloc/TZoneHeapManager.cpp:
(bmalloc::api::TZoneHeapManager::init):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to