Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 163805a73a698688a0d044e7bb31c8fa362408a8
      
https://github.com/WebKit/WebKit/commit/163805a73a698688a0d044e7bb31c8fa362408a8
  Author: Ahmad Saleem <[email protected]>
  Date:   2026-07-18 (Sat, 18 Jul 2026)

  Changed paths:
    M Source/WebCore/inspector/InspectorThreadableLoaderClient.h

  Log Message:
  -----------
  Web Inspector: InspectorThreadableLoaderClient::m_statusCode is uninitialized
https://bugs.webkit.org/show_bug.cgi?id=319738
rdar://182578510

Reviewed by Devin Rousso.

m_statusCode had no default member initializer, unlike the other
members of InspectorThreadableLoaderClient. It is set in
didReceiveResponse() and read in didFinishLoading(), which relies on
ThreadableLoaderClient's contract that didReceiveResponse() always
precedes didFinishLoading(). Give it a safe default so a future
change to that contract can't read uninitialized memory

* Source/WebCore/inspector/InspectorThreadableLoaderClient.h:

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



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

Reply via email to