Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(843)

Issue 987313003: CrashReportDatabase: use InitializationStateDcheck to guard against API abuses and misuses (Closed)

Created:
5 years, 9 months ago by Mark Mentovai
Modified:
5 years, 9 months ago
Reviewers:
Robert Sesek, scottmg
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

CrashReportDatabase: use InitializationStateDcheck to guard against API abuses and misuses. TEST=crashpad_client_test CrashReportDatabaseTest.* R=rsesek@chromium.org, scottmg@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/7979d9db4e097cbed41daae9857a44d382c1e217

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -3 lines) Patch
M client/crash_report_database_mac.mm View 10 chunks +30 lines, -2 lines 0 comments Download
M client/crash_report_database_win.cc View 12 chunks +26 lines, -1 line 0 comments Download

Messages

Total messages: 6 (1 generated)
Mark Mentovai
5 years, 9 months ago (2015-03-10 16:23:42 UTC) #2
Robert Sesek
LGTM, though this one seems less necessary since it can only be created through ::Create().
5 years, 9 months ago (2015-03-10 16:26:55 UTC) #3
Mark Mentovai
It still provides a good use-after-free check when the memory hasn’t been reclaimed.
5 years, 9 months ago (2015-03-10 16:34:10 UTC) #4
scottmg
lgtm
5 years, 9 months ago (2015-03-10 16:38:01 UTC) #5
Mark Mentovai
5 years, 9 months ago (2015-03-10 17:24:47 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
7979d9db4e097cbed41daae9857a44d382c1e217 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698