mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-26 06:31:50 +08:00
Mark Mentovai
6e720f1421
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 Review URL: https://codereview.chromium.org/434103003
Description
Languages
C++
92.6%
Objective-C++
2.5%
C
2%
Python
1.7%
Assembly
0.9%
Other
0.3%