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

Issue 694733002: [WebMIDI] Fix code style to suppress a static analysis error. (Closed)

Created:
6 years, 1 month ago by yhirano
Modified:
6 years, 1 month ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[WebMIDI] Fix code style to suppress a static analysis error. A static code analyzer reports an error in usb_midi_output_stream.cc, which is a message_size_table buffer overflow. This CL fixes the code. Note that the reported error never happens and hence the fix doesn't change the behavior. BUG=427616 Committed: https://crrev.com/84beeaa373ad30771120f533dc8d2c8f14524654 Cr-Commit-Position: refs/heads/master@{#302560}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M media/midi/usb_midi_output_stream.cc View 1 2 3 2 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
yhirano
PTAL brucedawson@: fyi
6 years, 1 month ago (2014-10-31 06:06:22 UTC) #2
Takashi Toyoshima
LGTM with two confirmation. If it's intended, I'm fine to keep them as is. https://codereview.chromium.org/694733002/diff/20001/media/midi/usb_midi_output_stream.cc ...
6 years, 1 month ago (2014-10-31 07:13:37 UTC) #3
yhirano
https://codereview.chromium.org/694733002/diff/20001/media/midi/usb_midi_output_stream.cc File media/midi/usb_midi_output_stream.cc (right): https://codereview.chromium.org/694733002/diff/20001/media/midi/usb_midi_output_stream.cc#newcode122 media/midi/usb_midi_output_stream.cc:122: // There are only 6 message types (0xf1 - ...
6 years, 1 month ago (2014-10-31 07:42:54 UTC) #4
chromium-reviews
The bug number we've been using for the /analyze finds is 427616, FWIW. Thanks for ...
6 years, 1 month ago (2014-10-31 14:39:28 UTC) #5
yhirano
On 2014/10/31 14:39:28, chromium-reviews wrote: > The bug number we've been using for the /analyze ...
6 years, 1 month ago (2014-11-04 01:38:55 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/694733002/60001
6 years, 1 month ago (2014-11-04 01:40:43 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 1 month ago (2014-11-04 02:58:21 UTC) #9
commit-bot: I haz the power
6 years, 1 month ago (2014-11-04 02:58:52 UTC) #10
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/84beeaa373ad30771120f533dc8d2c8f14524654
Cr-Commit-Position: refs/heads/master@{#302560}

Powered by Google App Engine
This is Rietveld 408576698