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

Issue 1642863003: Replace const-reference with pointer in SendData. (Closed)

Created:
4 years, 10 months ago by pbos-webrtc
Modified:
4 years, 10 months ago
Reviewers:
stefan-webrtc
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, andresp, the sun, perkj_webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Replace const-reference with pointer in SendData. This argument is never used as a reference and the pointer that's bound to the const reference may be nullptr. This is undefined behavior and barks under UBSan. BUG=webrtc:5124 R=stefan@webrtc.org Committed: https://crrev.com/fb152707ed224cc9e51850a698ca739f9a76aff1 Cr-Commit-Position: refs/heads/master@{#11418}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -10 lines) Patch
M webrtc/modules/video_coding/generic_encoder.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/include/video_coding_defines.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/video_sender_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video/vie_encoder.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video/vie_encoder.cc View 2 chunks +5 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
pbos-webrtc
PTAL
4 years, 10 months ago (2016-01-28 13:47:19 UTC) #1
pbos-webrtc
Example failure: Note: Google Test filter = EndToEndTest.CanReceiveFec [==========] Running 1 test from 1 test ...
4 years, 10 months ago (2016-01-28 13:47:43 UTC) #2
stefan-webrtc
lgtm
4 years, 10 months ago (2016-01-28 16:48:24 UTC) #3
pbos-webrtc
Committed patchset #1 (id:1) manually as fb152707ed224cc9e51850a698ca739f9a76aff1 (presubmit successful).
4 years, 10 months ago (2016-01-28 18:12:15 UTC) #5
commit-bot: I haz the power
4 years, 10 months ago (2016-01-28 18:12:18 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/fb152707ed224cc9e51850a698ca739f9a76aff1
Cr-Commit-Position: refs/heads/master@{#11418}

Powered by Google App Engine
This is Rietveld 408576698