Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#314 closed enhancement (fixed)

Added PJ_SAFE_POOL configuration in PJLIB to track down memory corruptions

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-0.8.0
Component: pjlib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

When PJ_SAFE_POOL is enabled (default is disabled), the following checks will be performed:

  1. when pool is destroyed, the pool is searched in the used_list to make sure that it hasn't been deallocated before.
  2. memory blocks will be prepended and appended with 32bit signature, and this signature will be verified when the block is freed.

Change History (2)

comment:1 Changed 17 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

Implemented in r1333

comment:2 Changed 17 years ago by bennylp

  • Type changed from defect to enhancement
Note: See TracTickets for help on using tickets.