mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-16 05:44:53 +00:00
Merge remote-tracking branch 'origin' into new-exe-framework
This commit is contained in:
@@ -2770,6 +2770,10 @@ namespace BurnOutSharp.Wrappers
|
||||
uint size = section.SizeOfRawData;
|
||||
lock (_sourceDataLock)
|
||||
{
|
||||
// Create the section data array if we have to
|
||||
if (_sectionData == null)
|
||||
_sectionData = new byte[SectionNames.Length][];
|
||||
|
||||
// If we already have cached data, just use that immediately
|
||||
if (_sectionData[index] != null)
|
||||
return _sectionData[index];
|
||||
|
||||
Reference in New Issue
Block a user