RootCauseunvalidated

calculating a fixed heap buffer size (external_relocs) based on the maximum relocation count BEFORE input files are processed — when processing PE/COFF object files with multiple input sections contributing relocations to the same output section. Tension: then incremented during processing. Outcome: causing writes to exceed the allocated buffer when the final reloc_count exceeds the initial maximum.

89096589-30f4-454a-adff-b9bc1a957d8c

calculating a fixed heap buffer size (external_relocs) based on the maximum relocation count BEFORE input files are processed — when processing PE/COFF object files with multiple input sections contributing relocations to the same output section. Tension: then incremented during processing. Outcome: causing writes to exceed the allocated buffer when the final reloc_count exceeds the initial maximum.