Applies To:
  • CitectSCADA 5.00

Summary:
There is no means of preventing code from allocating memory from the buffer pool, releasing it, and then reallocating it.

If code can reallocate a piece of buffer pool memory, it may be able to read or overwrite the contents, after another routine has allocated it.

 

Solution:
A [Kernel] parameter has been implemented to protect buffer pool memory. 

[Kernel]
BufPoolProtect=1

enables buffer pool debugging.

The debugging mode protects buffer pool memory so that code which previously used it cannot read or write to it again. If a routine attempts to reallocate a piece of buffer pool memory it previously allocated and released, a General Protection Error will occur.

This ensures that the buffer pool memory allocated by a routine cannot be read or overwritten by code which previously allocated it.

 

Keywords:
 

Attachments