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 434103003: Fix StringFileWriter::Seek() (Closed)

Created:
6 years, 4 months ago by Mark Mentovai
Modified:
6 years, 4 months ago
Reviewers:
Robert Sesek
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Project:
crashpad
Visibility:
Public.

Description

Fix StringFileWriter::Seek(). The final range check needs to check that the value fits in a size_t, because that’s what StringFileWriter uses for its offset_. TEST=util_test StringFileWriter.SeekInvalid R=rsesek@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/6e720f14214d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M util/file/string_file_writer.cc View 1 chunk +8 lines, -8 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Mark Mentovai
6 years, 4 months ago (2014-08-01 17:16:21 UTC) #1
Robert Sesek
LGTM
6 years, 4 months ago (2014-08-01 17:29:24 UTC) #2
Mark Mentovai
6 years, 4 months ago (2014-08-01 17:30:30 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as 6e720f14214d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698