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

Issue 891463002: Fill empty fields from keyring result with default values. (Closed)

Created:
5 years, 10 months ago by dvadym
Modified:
5 years, 10 months ago
Reviewers:
vabr (Chromium)
CC:
chromium-reviews, gcasto+watchlist_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fill empty fields from keyring result with default values. This is fixing of crashes in libsecret when some of fields from keyring result are absent. BUG=453218 Committed: https://crrev.com/480ca0e54a373befb27813fd9e1276e4627c30de Cr-Commit-Position: refs/heads/master@{#313710}

Patch Set 1 #

Patch Set 2 : Fix comments. #

Total comments: 6

Patch Set 3 : Reviewer comments fixes. #

Total comments: 2

Patch Set 4 : Small fix. #

Patch Set 5 : Added const. #

Patch Set 6 : Fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -4 lines) Patch
M chrome/browser/password_manager/native_backend_libsecret.cc View 1 2 3 4 5 2 chunks +11 lines, -4 lines 0 comments Download
M chrome/browser/password_manager/native_backend_libsecret_unittest.cc View 1 2 chunks +24 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
dvadym
Hi Vaclav, Could you please review this CL? Best regards, Vadym
5 years, 10 months ago (2015-01-29 13:46:40 UTC) #2
vabr (Chromium)
Hi Vadym, Looks reasonable, but I'm concerned about performance. Happy to have a chat about ...
5 years, 10 months ago (2015-01-29 14:10:34 UTC) #3
dvadym
Thanks Vaclav, fixed please have a look at PatchSet 3. https://codereview.chromium.org/891463002/diff/20001/chrome/browser/password_manager/native_backend_libsecret.cc File chrome/browser/password_manager/native_backend_libsecret.cc (right): https://codereview.chromium.org/891463002/diff/20001/chrome/browser/password_manager/native_backend_libsecret.cc#newcode122 ...
5 years, 10 months ago (2015-01-29 14:21:40 UTC) #4
vabr (Chromium)
LGTM, with one comment. Cheers, Vaclav https://codereview.chromium.org/891463002/diff/40001/chrome/browser/password_manager/native_backend_libsecret.cc File chrome/browser/password_manager/native_backend_libsecret.cc (right): https://codereview.chromium.org/891463002/diff/40001/chrome/browser/password_manager/native_backend_libsecret.cc#newcode23 chrome/browser/password_manager/native_backend_libsecret.cc:23: char empty_string[] = ...
5 years, 10 months ago (2015-01-29 14:23:13 UTC) #5
dvadym
Thanks a lot, fixed. https://codereview.chromium.org/891463002/diff/40001/chrome/browser/password_manager/native_backend_libsecret.cc File chrome/browser/password_manager/native_backend_libsecret.cc (right): https://codereview.chromium.org/891463002/diff/40001/chrome/browser/password_manager/native_backend_libsecret.cc#newcode23 chrome/browser/password_manager/native_backend_libsecret.cc:23: char empty_string[] = ""; On ...
5 years, 10 months ago (2015-01-29 14:27:57 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/891463002/60001
5 years, 10 months ago (2015-01-29 14:28:33 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/891463002/100001
5 years, 10 months ago (2015-01-29 14:34:34 UTC) #11
vabr (Chromium)
Patch set 6 (https://codereview.chromium.org/891463002/#ps100001) LGTM. Vaclav
5 years, 10 months ago (2015-01-29 14:49:11 UTC) #12
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 10 months ago (2015-01-29 15:35:57 UTC) #13
commit-bot: I haz the power
5 years, 10 months ago (2015-01-29 15:37:06 UTC) #14
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/480ca0e54a373befb27813fd9e1276e4627c30de
Cr-Commit-Position: refs/heads/master@{#313710}

Powered by Google App Engine
This is Rietveld 408576698