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

Issue 1639883002: Remove incorrect cast to AsyncSocketAdapter. (Closed)

Created:
4 years, 11 months ago by pbos-webrtc
Modified:
4 years, 11 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Remove incorrect cast to AsyncSocketAdapter. socket_ in OpenSSLAdapter should be (and is in tests) an AsyncSocket but doesn't have to be an AsyncSocketAdapter. In tests this is rtc::VirtualSocket which is an rtc::AsyncSocket. This also matches the BIO_new_socket type signature. This fixes the remaining UBSan vptr bot errors. BUG=webrtc:5124, webrtc:5226 R=tommi@webrtc.org, torbjorng@webrtc.org Committed: https://crrev.com/0b518bf6fcf87b652546a232a6ea8e53c6c4d316 Cr-Commit-Position: refs/heads/master@{#11391}

Patch Set 1 #

Patch Set 2 : didn't even need a cast, woot #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M webrtc/base/openssladapter.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (11 generated)
pbos-webrtc
PTAL
4 years, 11 months ago (2016-01-26 15:31:54 UTC) #1
pbos-webrtc
+R tommi@ for ownership.
4 years, 11 months ago (2016-01-26 15:32:11 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1639883002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1639883002/1
4 years, 11 months ago (2016-01-26 15:32:25 UTC) #5
pbos-webrtc
didn't even need a cast, woot
4 years, 11 months ago (2016-01-26 15:35:29 UTC) #7
pbos-webrtc
Example failure here: https://build.chromium.org/p/client.webrtc.fyi/builders/Linux%20UBSan%20vptr/builds/741
4 years, 11 months ago (2016-01-26 15:37:21 UTC) #10
tommi
lgtm
4 years, 11 months ago (2016-01-26 23:30:17 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1639883002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1639883002/20001
4 years, 11 months ago (2016-01-26 23:30:19 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_libfuzzer_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_libfuzzer_rel/builds/586)
4 years, 11 months ago (2016-01-27 00:39:51 UTC) #17
torbjorng (webrtc)
lgtm
4 years, 11 months ago (2016-01-27 11:18:05 UTC) #18
pbos-webrtc
Committed patchset #2 (id:20001) manually as 0b518bf6fcf87b652546a232a6ea8e53c6c4d316 (presubmit successful).
4 years, 11 months ago (2016-01-27 11:35:57 UTC) #20
commit-bot: I haz the power
4 years, 11 months ago (2016-01-27 11:36:02 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0b518bf6fcf87b652546a232a6ea8e53c6c4d316
Cr-Commit-Position: refs/heads/master@{#11391}

Powered by Google App Engine
This is Rietveld 408576698