vswprintf causes Purify to fail (#145). r=darin
88e18d9fac
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@135 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
3479e850c5
commit
aec44489da
6 changed files with 42 additions and 40 deletions
|
@ -475,9 +475,9 @@ void ExceptionHandler::UpdateNextID() {
|
|||
next_minidump_id_c_ = next_minidump_id_.c_str();
|
||||
|
||||
wchar_t minidump_path[MAX_PATH];
|
||||
WindowsStringUtils::safe_swprintf(minidump_path, MAX_PATH, L"%s\\%s.dmp",
|
||||
dump_path_c_,
|
||||
next_minidump_id_c_);
|
||||
swprintf(minidump_path, MAX_PATH, L"%s\\%s.dmp",
|
||||
dump_path_c_, next_minidump_id_c_);
|
||||
GB_WSU_SAFE_SWPRINTF_TERMINATE(minidump_path, MAX_PATH);
|
||||
next_minidump_path_ = minidump_path;
|
||||
next_minidump_path_c_ = next_minidump_path_.c_str();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue