Browse Source

Merge pull request #3493 from greenozon/master

Minor update related to issue #3492
pull/3497/head
Siegfried Pammer 1 week ago committed by GitHub
parent
commit
57cd68fc1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      ICSharpCode.Decompiler/SRMExtensions.cs

2
ICSharpCode.Decompiler/SRMExtensions.cs

@ -639,7 +639,7 @@ namespace ICSharpCode.Decompiler @@ -639,7 +639,7 @@ namespace ICSharpCode.Decompiler
var sectionData = pefile.GetSectionData(rva);
if (sectionData.Length == 0 && size != 0)
throw new BadImageFormatException($"Field data (rva=0x{rva:x}) could not be found"
+ "in any section!");
+ " in any section!");
if (size < 0 || size > sectionData.Length)
throw new BadImageFormatException($"Invalid size {size} for field data!");
return sectionData.GetReader(0, size);

Loading…
Cancel
Save