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

Issue 2249973006: ui: Fix potential out-of-bounds array access in EDID parser (Closed)

Created:
4 years, 4 months ago by robert.bradford
Modified:
4 years, 4 months ago
Reviewers:
oshima
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ui: Fix potential out-of-bounds array access in EDID parser When checking the that the size of the array is sufficient for all accesses, including the value in the third byte, the header byte was not taken into consideration. This bug was found with the fuzzer in: https://crrev.com/2252643003 BUG=638273 TEST=No ASan issues with fuzzer after change; existing unittest passes. Committed: https://crrev.com/1e7c1a2f73e24fd7cbe6de2dd53bba6ab7b5f05c Cr-Commit-Position: refs/heads/master@{#412899}

Patch Set 1 : Add header byte to size check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M ui/display/util/edid_parser.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (11 generated)
robert.bradford
Hi oshima@ please could you take a look at this? https://codereview.chromium.org/2249973006/diff/1/ui/display/util/edid_parser.cc File ui/display/util/edid_parser.cc (right): https://codereview.chromium.org/2249973006/diff/1/ui/display/util/edid_parser.cc#newcode249 ...
4 years, 4 months ago (2016-08-17 10:24:27 UTC) #4
oshima
lgtm
4 years, 4 months ago (2016-08-18 15:21:00 UTC) #9
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/2249973006/20001
4 years, 4 months ago (2016-08-18 15:58:27 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/125111) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 4 months ago (2016-08-18 16:38:56 UTC) #13
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/2249973006/20001
4 years, 4 months ago (2016-08-18 17:52:33 UTC) #15
commit-bot: I haz the power
Committed patchset #1 (id:20001)
4 years, 4 months ago (2016-08-18 18:42:24 UTC) #16
commit-bot: I haz the power
4 years, 4 months ago (2016-08-18 18:46:46 UTC) #18
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/1e7c1a2f73e24fd7cbe6de2dd53bba6ab7b5f05c
Cr-Commit-Position: refs/heads/master@{#412899}

Powered by Google App Engine
This is Rietveld 408576698