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

Issue 2282493002: gn: Don't do an out-of-bound access if a file ends after 'else' (Closed)

Created:
4 years, 3 months ago by Nico
Modified:
4 years, 3 months ago
Reviewers:
brettw, scottmg
CC:
chromium-reviews, Dirk Pranke, tfarina, scottmg
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gn: Don't do an out-of-bound access if a file ends after 'else' BUG=640857 Committed: https://crrev.com/5aba5ce9d5f3184b1e659c319e962c57274cbe03 Cr-Commit-Position: refs/heads/master@{#414461}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -3 lines) Patch
M tools/gn/parser.h View 1 chunk +5 lines, -0 lines 0 comments Download
M tools/gn/parser.cc View 3 chunks +4 lines, -3 lines 3 comments Download

Messages

Total messages: 12 (7 generated)
Nico
https://codereview.chromium.org/2282493002/diff/1/tools/gn/parser.cc File tools/gn/parser.cc (right): https://codereview.chromium.org/2282493002/diff/1/tools/gn/parser.cc#newcode391 tools/gn/parser.cc:391: if (!at_end()) this is unrelated but seems like a ...
4 years, 3 months ago (2016-08-25 16:07:49 UTC) #4
scottmg
lgtm
4 years, 3 months ago (2016-08-25 16:09:30 UTC) #6
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/2282493002/1
4 years, 3 months ago (2016-08-25 16:19:43 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-08-25 17:16:07 UTC) #10
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 17:19:54 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/5aba5ce9d5f3184b1e659c319e962c57274cbe03
Cr-Commit-Position: refs/heads/master@{#414461}

Powered by Google App Engine
This is Rietveld 408576698