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

Issue 2883313004: Fix off-by-one in ALSA control name determination. (Closed)

Created:
3 years, 7 months ago by jyw
Modified:
3 years, 7 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix off-by-one in ALSA control name determination. Previously, given a device_id "plug:foo" alsa_util.cc would try to open the control named ":foo". It will now open "foo". This is safe because at this point we know we have already found a ':' at pos1. BUG=internal 35197382 TEST=manual CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2883313004 Cr-Commit-Position: refs/heads/master@{#472218} Committed: https://chromium.googlesource.com/chromium/src/+/14744bc1d40b22390430584005ca10495331701d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M media/audio/alsa/alsa_util.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (11 generated)
jyw1
3 years, 7 months ago (2017-05-16 18:56:43 UTC) #5
alokp
Tommi: Could you PTAL. Dale is OOO.
3 years, 7 months ago (2017-05-16 18:56:51 UTC) #7
DaleCurtis
lgtm, caveat that this means you'll get an empty string back now versus before a ...
3 years, 7 months ago (2017-05-16 19:06:02 UTC) #9
jyw1
On 2017/05/16 19:06:02, DaleCurtis_OOO_May_5_To_May23 wrote: > lgtm, caveat that this means you'll get an empty ...
3 years, 7 months ago (2017-05-16 20:59:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2883313004/1
3 years, 7 months ago (2017-05-16 21:00:27 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-05-16 21:11:08 UTC) #17
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/14744bc1d40b22390430584005ca...

Powered by Google App Engine
This is Rietveld 408576698