| Index: snapshot/win/pe_image_reader.cc
|
| diff --git a/snapshot/win/pe_image_reader.cc b/snapshot/win/pe_image_reader.cc
|
| index 82bce0645ad57f82fcf6dc6f69b073660b20f9c1..f408fb18c77de9a5ca15269b6873182d62e6770e 100644
|
| --- a/snapshot/win/pe_image_reader.cc
|
| +++ b/snapshot/win/pe_image_reader.cc
|
| @@ -86,8 +86,10 @@ bool PEImageReader::GetCrashpadInfo(
|
| INITIALIZATION_STATE_DCHECK_VALID(initialized_);
|
|
|
| IMAGE_SECTION_HEADER section;
|
| - if (!GetSectionByName<NtHeadersForTraits<Traits>::type>("CPADinfo", §ion))
|
| + if (!GetSectionByName<typename NtHeadersForTraits<Traits>::type>("CPADinfo",
|
| + §ion)) {
|
| return false;
|
| + }
|
|
|
| if (section.Misc.VirtualSize < sizeof(process_types::CrashpadInfo<Traits>)) {
|
| LOG(WARNING) << "small crashpad info section size "
|
|
|