Consultor Eletrônico



Kbase P116981: SUBSTRING on LONGCHAR causes memory leak if nested in another function call
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/3/2009
Status: Verified

SYMPTOM(s):

Using SUBSTRING function on LONGCHAR variable

SUBSTRING function call is nested in other function call

Memory leak

The following may occur:

Client crashes

Could not obtain memory for LONGCHAR variable. (11677)

FACT(s) (Environment):

OpenEdge 10.0x
OpenEdge 10.1A
All Supported Operating Systems

CAUSE:

Bug# OE00129607

FIX:

Upgrade to OpenEdge 10.1B or later

Workaround:
Catch the return value of the SUBSTRING function in an intermediate LONGCHAR variable and use that variable for further processing.