Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c44357db93e1d8d4e38e6019f99404c4e051575f
      
https://github.com/WebKit/WebKit/commit/c44357db93e1d8d4e38e6019f99404c4e051575f
  Author: David Kilzer <[email protected]>
  Date:   2026-01-10 (Sat, 10 Jan 2026)

  Changed paths:
    M Tools/WebKitTestRunner/TestController.cpp

  Log Message:
  -----------
  REGRESSION(300839@main): Use after free in WTR::WKURLArrayFromWKStringArray()
<https://bugs.webkit.org/show_bug.cgi?id=305240#>
<rdar://167880352>

Reviewed by Geoffrey Garen.

The code was storing the result of `utf8().data()` in a local variable
and using it later on. This was a use-after-free since the pointer
returned by `data()` pointed to memory owned by the temporary CString
returned by `utf8()`.

* Tools/WebKitTestRunner/TestController.cpp:

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



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

Reply via email to