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

Issue 898493003: Pass the size of the array to GetModuleFileName. (Closed)

Created:
5 years, 10 months ago by rickyz (no longer on Chrome)
Modified:
5 years, 10 months ago
Reviewers:
dmazzoni
CC:
chromium-reviews, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, jam, yuzo+watch_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pass the size of the array to GetModuleFileName. TCHAR may be a WCHAR, so sizeof would allow GetModuleFileName to write twice the size of the buffer. Thanks to Ilya Berdichevsky for the bug and fix. BUG=446464 Committed: https://crrev.com/487353e4abfc8902439be6aed288adcfb9ece9e3 Cr-Commit-Position: refs/heads/master@{#314223}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M content/browser/accessibility/browser_accessibility_state_impl_win.cc View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
rickyz (no longer on Chrome)
5 years, 10 months ago (2015-02-02 22:26:57 UTC) #2
dmazzoni
lgtm
5 years, 10 months ago (2015-02-02 22:37:46 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/898493003/1
5 years, 10 months ago (2015-02-02 22:38:36 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 10 months ago (2015-02-03 00:32:53 UTC) #6
commit-bot: I haz the power
5 years, 10 months ago (2015-02-03 00:34:14 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/487353e4abfc8902439be6aed288adcfb9ece9e3
Cr-Commit-Position: refs/heads/master@{#314223}

Powered by Google App Engine
This is Rietveld 408576698