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

Issue 1615653011: Fix a bug in webrtc::ByteReader (Closed)

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

Description

Fix a bug in webrtc::ByteReader The specializations for 4-byte reading did not return correct values. This has to do with the order of casting and shifting. Also adding a test to expose the bug (and verify the other byte sizes). Committed: https://crrev.com/7a83951b274115df896bdfae895b61bac48b3018 Cr-Commit-Position: refs/heads/master@{#11364}

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -2 lines) Patch
M webrtc/modules/rtp_rtcp/source/byte_io.h View 1 chunk +9 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/byte_io_unittest.cc View 1 chunk +38 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
hlundin-webrtc
Språng, please, take a look. Thanks!
4 years, 11 months ago (2016-01-22 13:56:39 UTC) #3
sprang_webrtc
Interesting, could you explain in detail what went wrong? I'm surprised this current tests didn't ...
4 years, 11 months ago (2016-01-22 14:10:54 UTC) #4
hlundin-webrtc
On 2016/01/22 14:10:54, språng wrote: > Interesting, could you explain in detail what went wrong? ...
4 years, 11 months ago (2016-01-22 14:25:22 UTC) #5
sprang_webrtc
On 2016/01/22 14:25:22, hlundin-webrtc wrote: > On 2016/01/22 14:10:54, språng wrote: > > Interesting, could ...
4 years, 11 months ago (2016-01-22 15:45:39 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1615653011/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1615653011/20001
4 years, 11 months ago (2016-01-25 06:48:13 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:20001)
4 years, 11 months ago (2016-01-25 07:47:55 UTC) #9
commit-bot: I haz the power
4 years, 11 months ago (2016-01-25 07:48:06 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/7a83951b274115df896bdfae895b61bac48b3018
Cr-Commit-Position: refs/heads/master@{#11364}

Powered by Google App Engine
This is Rietveld 408576698