Detours
Detours copied to clipboard
DetourBinaryWrite doesn't handle .bss segments correctly
This type of segment has a data size in memory (SizeOfRawData > 0) but stores no data in the object file itself. The problem occurs when Image::Write tries to write the segment to the file. A check needs to made for PointerToRawData == NULL
Please feel free to make pull request that fixes this.