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

Issue 2572853004: [MD Bookmarks] Fix segfault when calling chrome.bookmarks.remove(). (Closed)

Created:
4 years ago by calamity
Modified:
4 years ago
Reviewers:
Nicolas Zea
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, sync-reviews_chromium.org, extensions-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD Bookmarks] Fix segfault when calling chrome.bookmarks.remove(). This CL fixes an issue where a null pointer would get dereferenced when calling certain bookmarks API functions because they expect a valid extension. This fails on the new bookmarks page since it is a WebUI and has no extension. This has been fixed by adding a null check. BUG=658980 Committed: https://crrev.com/64da903e4cfacff1d9b0124bebee39ec3c64ff16 Cr-Commit-Position: refs/heads/master@{#438463}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M chrome/browser/sync/glue/extensions_activity_monitor.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
calamity
4 years ago (2016-12-14 02:19:12 UTC) #3
Nicolas Zea
It seems odd that you're invoking an EXTENSIONS_* notification without a valid extension id. Should ...
4 years ago (2016-12-14 05:01:33 UTC) #4
calamity
On 2016/12/14 05:01:33, Nicolas Zea wrote: > It seems odd that you're invoking an EXTENSIONS_* ...
4 years ago (2016-12-14 07:27:49 UTC) #5
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/2572853004/1
4 years ago (2016-12-14 07:28:17 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-14 08:36:41 UTC) #10
commit-bot: I haz the power
4 years ago (2016-12-14 08:39:09 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/64da903e4cfacff1d9b0124bebee39ec3c64ff16
Cr-Commit-Position: refs/heads/master@{#438463}

Powered by Google App Engine
This is Rietveld 408576698