ECN-4676 Runtime memory corruption when calling .NET assemblies

Incident: 3229306

RPI Number: 1120563

Product: ACUCOBOL-GT

Module: Runtime

Machines Affected: Windows

Known Versions Affected: 10.3.0 and later

DESCRIPTION:

When calling .NET assemblies, the runtime generated BSTR strings to pass to the assembly. Sometimes, these BSTR strings needed to be freed, and sometimes not; however, they were always being freed. This sometimes resulted in the double-freeing of memory, leading to memory corruption. This has been corrected.