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

Issue 2461083002: Fix uninitialized memory bug from scaling addition (Closed)

Created:
4 years, 1 month ago by rbpotter
Modified:
4 years, 1 month ago
Reviewers:
Lei Zhang
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix uninitialized memory bug from scaling addition |scale_factor_| was not initialized in PrintSettings::Clear() function like the other elements of PrintSettings. Fixed by initializing the value to default (1.0). Uninitialized value was introduced in commit https://chromium.googlesource.com/chromium/src/+/769ffdf779d83399a6f219e2637c6469ab94da0e BUG=659594 Committed: https://crrev.com/614913eb9d85a921dc84ee66d72e128af2c23f3a Cr-Commit-Position: refs/heads/master@{#428550}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M printing/print_settings.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (15 generated)
rbpotter
4 years, 1 month ago (2016-10-28 22:02:36 UTC) #4
Lei Zhang
lgtm In the commit message, I would mention the commit number where the uninit value ...
4 years, 1 month ago (2016-10-28 22:07:00 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/2461083002/1
4 years, 1 month ago (2016-10-28 23:54:54 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-10-29 00:00:20 UTC) #18
commit-bot: I haz the power
4 years, 1 month ago (2016-10-29 00:44:24 UTC) #20
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/614913eb9d85a921dc84ee66d72e128af2c23f3a
Cr-Commit-Position: refs/heads/master@{#428550}

Powered by Google App Engine
This is Rietveld 408576698