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

Issue 2613723005: Move the known CT logs to the read-only data segment (Closed)

Created:
3 years, 11 months ago by Ryan Sleevi
Modified:
3 years, 11 months ago
Reviewers:
eroman, brucedawson
CC:
chromium-reviews, rsleevi+watch_chromium.org, certificate-transparency-chrome_googlegroups.com, cbentzel+watch_chromium.org, martijn+crwatch_martijnc.be, Eran Messeri
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move the known CT logs to the read-only data segment Due to a quirk in VC++ it is easy to accidentally prevent a const global array from being placed in the read-only data segment. This change removes a should-be-harmless 'const' keyword to work around this quirk and move ~256 bytes to the .rdata (read-only) data segment. VC++ bug is https://connect.microsoft.com/VisualStudio/feedback/details/3117602 BUG=677351 Review-Url: https://codereview.chromium.org/2613723005 Cr-Commit-Position: refs/heads/master@{#441804} Committed: https://chromium.googlesource.com/chromium/src/+/90aef9d95d98c323811bc8ac8ae86570954c6d8c

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M net/cert/ct_known_logs_static-inc.h View 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
Ryan Sleevi
eroman: Trivial change; mostly trying to rule out memory corruption related crashes by getting stuff ...
3 years, 11 months ago (2017-01-05 23:59:39 UTC) #3
eroman
lgtm
3 years, 11 months ago (2017-01-06 00:35:37 UTC) #4
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/2613723005/1
3 years, 11 months ago (2017-01-06 00:40:09 UTC) #6
brucedawson
Also lgtm. Harmless, and always good to get more globals into the read-only data section.
3 years, 11 months ago (2017-01-06 01:02:27 UTC) #8
commit-bot: I haz the power
3 years, 11 months ago (2017-01-06 01:47:43 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/90aef9d95d98c323811bc8ac8ae8...

Powered by Google App Engine
This is Rietveld 408576698