-
Notifications
You must be signed in to change notification settings - Fork 424
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix index out-of-bounds in startAttachingCrashLogMessages (#3123)
Task/Issue URL: https://app.asana.com/0/414709148257752/1207877553454228/f BSK PR: duckduckgo/BrowserServicesKit#906 Description: Fixes Out-of-bounds exception when no records in crashDiagnostics array Rollback crash collection in C++ exception handler Steps to test this PR: Simulate a crash in App Store target with debugger detached Set a breakpoint at CrashCollection.swift:122 and remove items from crashDiagnostics array (using LLDB: po crashDiagnostics.removeAll()) validate the code is not crashing when adding a record to the array
- Loading branch information
Showing
3 changed files
with
3 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters