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

Issue 186343003: Fix index out of bounds bug which causes memory leak or browser crash in extension sessions API. (Closed)

Created:
6 years, 9 months ago by wjywbs
Modified:
6 years, 9 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

This is my first commit, and chromium_presubmit is failing. I added my name in the AUTHORS file. R=kalman@chromium.org BUG=348395 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256283

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M AUTHORS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/sessions/sessions_api.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
wjywbs
Please check #4 reply in the bug report for details. BUG=348395
6 years, 9 months ago (2014-03-04 02:56:44 UTC) #1
wjywbs
I added several more reviewers to this issue. Thanks.
6 years, 9 months ago (2014-03-07 18:02:17 UTC) #2
not at google - send to devlin
https://codereview.chromium.org/186343003/diff/1/chrome/browser/extensions/api/sessions/sessions_api.cc File chrome/browser/extensions/api/sessions/sessions_api.cc (right): https://codereview.chromium.org/186343003/diff/1/chrome/browser/extensions/api/sessions/sessions_api.cc#newcode234 chrome/browser/extensions/api/sessions/sessions_api.cc:234: tab.navigations[index_corrected], it looks like you can use tab.normalized_navigation_index() here: ...
6 years, 9 months ago (2014-03-07 21:21:45 UTC) #3
earthdok
Sorry, I'm not an appropriate reviewer here. Despite having fixed leaks in this file before, ...
6 years, 9 months ago (2014-03-09 16:47:24 UTC) #4
wjywbs
PTAL. Thanks.
6 years, 9 months ago (2014-03-11 02:42:15 UTC) #5
not at google - send to devlin
lgtm
6 years, 9 months ago (2014-03-11 02:48:31 UTC) #6
wjywbs
The CQ bit was checked by wjywbs@gmail.com
6 years, 9 months ago (2014-03-11 05:03:58 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wjywbs@gmail.com/186343003/20001
6 years, 9 months ago (2014-03-11 05:04:44 UTC) #8
wjywbs
The CQ bit was unchecked by wjywbs@gmail.com
6 years, 9 months ago (2014-03-11 05:32:52 UTC) #9
wjywbs
This is my first commit, and chromium_presubmit is failing. I added my name in the ...
6 years, 9 months ago (2014-03-11 05:41:13 UTC) #10
not at google - send to devlin
lgtm
6 years, 9 months ago (2014-03-11 15:17:51 UTC) #11
wjywbs
The CQ bit was checked by wjywbs@gmail.com
6 years, 9 months ago (2014-03-11 15:35:53 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wjywbs@gmail.com/186343003/40001
6 years, 9 months ago (2014-03-11 15:38:41 UTC) #13
commit-bot: I haz the power
Change committed as 256283
6 years, 9 months ago (2014-03-11 18:52:22 UTC) #14
wjywbs
Hello kalman, I just found out that the description went to be the commit message: ...
6 years, 9 months ago (2014-03-11 19:13:59 UTC) #15
not at google - send to devlin
6 years, 9 months ago (2014-03-11 19:22:03 UTC) #16
Message was sent while issue was closed.
No you can't change it, but that's ok. The commit message doesn't look out of
place.

Powered by Google App Engine
This is Rietveld 408576698