Kbase P21771: SonicMQ Adapter:Can't PUT past the end of the MEMPTR. (4791)
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  4/1/2003 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.1D
FACT(s) (Environment):
SonicMQ 4.0
SYMPTOM(s):
SonicMQ Adapter program sporadically fails with error.
Program is listening on a queue.
Using the getText and getCharCount functions of ptpession.p.
gettext error occurs when mempointer is exceeded.
Can't PUT past the end of the MEMPTR. (4791).
CAUSE:
Read or write to portions of memory outside of the specified region.
FIX:
The region of memory associated with a MEMPTR variable remains allocated until it is freed. Progress does not automatically free the memory for you.
It is up to you to ensure that the memory is freed.
SET-SIZE(MEMPTR) = 0.
Progress uses this size to perform bounds checking that ensures you do not read or write to portions of memory outside of the specified region.