Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 68535b9de3bcaa8af52ee8f4d31f3ea04326f2d5
      
https://github.com/WebKit/WebKit/commit/68535b9de3bcaa8af52ee8f4d31f3ea04326f2d5
  Author: Adrian Perez de Castro <[email protected]>
  Date:   2026-02-02 (Mon, 02 Feb 2026)

  Changed paths:
    M Source/WTF/wtf/AvailableMemory.cpp

  Log Message:
  -----------
  [WTF] Drop WTF_ALLOW_UNSAFE_BUFFER_USAGE in AvailableMemory.cpp
https://bugs.webkit.org/show_bug.cgi?id=306762

Reviewed by Patrick Griffis.

* Source/WTF/wtf/AvailableMemory.cpp:
(WTF::LinuxMemory::footprint const): Use WTF string parsing utilities
instead of strtoul(), which as a neat side effect also avoids needing
to copy the part of the input buffer that will be parsed. While at it
use checked arithmetic to detect multiplication overflows.

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



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

Reply via email to