#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:
- when pool is destroyed, the pool is searched in the used_list to make sure that it hasn't been deallocated before.
- 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
comment:2 Changed 17 years ago by bennylp
- Type changed from defect to enhancement
Note: See
TracTickets for help on using
tickets.
Implemented in r1333