Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5a6e1a9ddc36bed206fc035c73a4e8e61e60138a
      
https://github.com/WebKit/WebKit/commit/5a6e1a9ddc36bed206fc035c73a4e8e61e60138a
  Author: Wenson Hsieh <[email protected]>
  Date:   2024-11-17 (Sun, 17 Nov 2024)

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

  Log Message:
  -----------
  [WTF] WTFReportBacktraceWithPrefixAndStackDepth() crashes after 286344@main
https://bugs.webkit.org/show_bug.cgi?id=283269

Reviewed by Abrar Rahman Protyasha.

Use `resize()` instead of `reserveInitialCapacity()` here — the latter only 
expands the backing
memory to the given capacity, but the initial size of the vector is still 0. 
This caused `subspan`
to crash immediately when attempting to access the subspan starting from 
`kDefaultFramesToSkip`.

* Source/WTF/wtf/Assertions.cpp:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to