Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4d7b119b4c65ee2318d97fc8834edbb2a26c28f4
      
https://github.com/WebKit/WebKit/commit/4d7b119b4c65ee2318d97fc8834edbb2a26c28f4
  Author: Zak Ridouh <[email protected]>
  Date:   2025-11-07 (Fri, 07 Nov 2025)

  Changed paths:
    M Source/WebCore/platform/LayoutUnit.h
    M Tools/TestWebKitAPI/Tests/WebCore/LayoutUnitTests.cpp

  Log Message:
  -----------
  Prevent overflow in LayoutUnit operator++
https://bugs.webkit.org/show_bug.cgi?id=266939
rdar://120572251

Reviewed by Alan Baradlay.

Prevent overflows in the Layout Unit ++ operator.

Influenced by 
<https://source.chromium.org/chromium/chromium/src/+/43a5cd79fe73e334515f0ef0a55dbf670f133923>

Test: Tools/TestWebKitAPI/Tests/WebCore/LayoutUnitTests.cpp

* Source/WebCore/platform/LayoutUnit.h:
(WebCore::LayoutUnit::operator++):
* Tools/TestWebKitAPI/Tests/WebCore/LayoutUnitTests.cpp:
(TestWebKitAPI::TEST(WebCoreLayoutUnit, LayoutUnitPlusPlus)):

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



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

Reply via email to