mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
_NSGetExecutablePath() returns a buffer size including space for the trailing NUL byte. A std::string’s length should be one less than this, because the std::string’s length does not include the trailing NUL byte that is guaranteed to be present. Change-Id: I46b8a68979beda7dc5de09d0eef6f1d3d6a78ecf Reviewed-on: https://chromium-review.googlesource.com/354100 Reviewed-by: Robert Sesek <rsesek@chromium.org>
Description
Languages
C++
92.5%
Objective-C++
2.5%
C
2%
Python
1.8%
Assembly
0.9%
Other
0.3%