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

Issue 2289383002: rtc::Optional: Tell sanitizers that unset values aren't OK to access (Closed)

Created:
4 years, 3 months ago by kwiberg-webrtc
Modified:
4 years, 3 months ago
Reviewers:
tommi, ossu
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

rtc::Optional: Tell sanitizers that unset values aren't OK to access This is a sample use of the other three sanitizer functions introduced in https://codereview.webrtc.org/2293893002/. BUG=chromium:617124 Committed: https://crrev.com/2b11fd2e4bcbd5240ee04110323309f1fa2d3251 Cr-Commit-Position: refs/heads/master@{#14157}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Review comment #

Total comments: 9

Patch Set 3 : Rename namespace to optional_internal #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -10 lines) Patch
M webrtc/base/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/base/base.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/base/optional.h View 1 2 9 chunks +57 lines, -2 lines 0 comments Download
A + webrtc/base/optional.cc View 1 2 1 chunk +9 lines, -8 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
kwiberg-webrtc
4 years, 3 months ago (2016-09-03 14:48:40 UTC) #6
tommi
lgtm https://codereview.webrtc.org/2289383002/diff/80001/webrtc/base/optional.h File webrtc/base/optional.h (right): https://codereview.webrtc.org/2289383002/diff/80001/webrtc/base/optional.h#newcode219 webrtc/base/optional.h:219: } else { nit: else not necessary
4 years, 3 months ago (2016-09-03 15:00:51 UTC) #7
kwiberg-webrtc
New patch set uploaded. https://codereview.webrtc.org/2289383002/diff/80001/webrtc/base/optional.h File webrtc/base/optional.h (right): https://codereview.webrtc.org/2289383002/diff/80001/webrtc/base/optional.h#newcode219 webrtc/base/optional.h:219: } else { On 2016/09/03 ...
4 years, 3 months ago (2016-09-03 16:05:36 UTC) #8
ossu
https://codereview.webrtc.org/2289383002/diff/100001/webrtc/base/optional.cc File webrtc/base/optional.cc (left): https://codereview.webrtc.org/2289383002/diff/100001/webrtc/base/optional.cc#oldcode12 webrtc/base/optional.cc:12: This all is just rietveld going crazy trying to ...
4 years, 3 months ago (2016-09-05 08:27:21 UTC) #9
kwiberg-webrtc
https://codereview.webrtc.org/2289383002/diff/100001/webrtc/base/optional.cc File webrtc/base/optional.cc (left): https://codereview.webrtc.org/2289383002/diff/100001/webrtc/base/optional.cc#oldcode12 webrtc/base/optional.cc:12: On 2016/09/05 08:27:21, ossu wrote: > This all is ...
4 years, 3 months ago (2016-09-05 09:11:30 UTC) #10
ossu
https://codereview.webrtc.org/2289383002/diff/100001/webrtc/base/optional.cc File webrtc/base/optional.cc (left): https://codereview.webrtc.org/2289383002/diff/100001/webrtc/base/optional.cc#oldcode12 webrtc/base/optional.cc:12: On 2016/09/05 09:11:30, kwiberg-webrtc wrote: > On 2016/09/05 08:27:21, ...
4 years, 3 months ago (2016-09-05 09:38:43 UTC) #11
kwiberg-webrtc
https://codereview.webrtc.org/2289383002/diff/100001/webrtc/base/optional.h File webrtc/base/optional.h (right): https://codereview.webrtc.org/2289383002/diff/100001/webrtc/base/optional.h#newcode217 webrtc/base/optional.h:217: return has_value_ ? *internal::FunctionThatDoesNothing(&value_) On 2016/09/05 09:38:43, ossu wrote: ...
4 years, 3 months ago (2016-09-05 12:41:22 UTC) #12
ossu
lgtm with a comment https://codereview.webrtc.org/2289383002/diff/100001/webrtc/base/optional.h File webrtc/base/optional.h (right): https://codereview.webrtc.org/2289383002/diff/100001/webrtc/base/optional.h#newcode29 webrtc/base/optional.h:29: void* FunctionThatDoesNothingImpl(void*); On 2016/09/05 09:11:30, ...
4 years, 3 months ago (2016-09-08 08:49:03 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2289383002/140001
4 years, 3 months ago (2016-09-08 12:51:27 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_dbg on ...
4 years, 3 months ago (2016-09-08 13:29:46 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2289383002/140001
4 years, 3 months ago (2016-09-09 09:06:03 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:140001)
4 years, 3 months ago (2016-09-09 10:35:27 UTC) #21
commit-bot: I haz the power
4 years, 3 months ago (2016-09-09 10:35:40 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2b11fd2e4bcbd5240ee04110323309f1fa2d3251
Cr-Commit-Position: refs/heads/master@{#14157}

Powered by Google App Engine
This is Rietveld 408576698