Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d93be1ab7ae74a686c4e36fdd5c1213ece640124
      
https://github.com/WebKit/WebKit/commit/d93be1ab7ae74a686c4e36fdd5c1213ece640124
  Author: Adrian Perez de Castro <[email protected]>
  Date:   2026-03-05 (Thu, 05 Mar 2026)

  Changed paths:
    M Source/JavaScriptCore/API/glib/JSCContext.cpp

  Log Message:
  -----------
  REGRESSION(308608@main): [JSC] Clang 21 reports unsafe buffer usage warnings
https://bugs.webkit.org/show_bug.cgi?id=309163

Reviewed by Claudio Saavedra.

Avoid using the two parameter std::span() constructor by replacing it
with unsafeMakeSpan(), and avoid the strlen() calls by letting
String::fromUTF8() ingest the null-terminated strings directly.

* Source/JavaScriptCore/API/glib/JSCContext.cpp:
(jsc_context_evaluate_with_source_uri):
(jsc_context_evaluate_in_object):
(jsc_context_check_syntax):

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



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

Reply via email to