Debug Malloc (Dmalloc) Library Release Notes
Version: Release 5.4.2
Last-Version: 5.4.1
Date: October 19, 2004
Overview
New Functionality
Dmalloc Utility
Debug Tokens
settings.dist
Installation
Programming
Environmental Variables
Bugs Fixed
Bug fix release to repair a number of problems and issues
regarding the free-blank and alloc-blank tokens. See the bugs section
for more information.
None.
None.
- Just to make clear, when a pointer is allocated (or reallocated)
with the 'alloc-blank' or 'check-blank' tokens enabled, the library
clears various parts of the allocation block with the allocation-blank
character (ALLOC_BLANK_CHAR in settings.h). If the 'free-blank or
'check-blank' tokens are enabled, when a pointer is freed, the library
clears all of the space with the free-blank character (FREE_BLANK_CHAR
in settings.h).
None.
None.
None.
None.
- The library was was clearing the user spaces of an allocated
chunk with the alloc-blank character and the non-user spaces with the
free-blank character. This seemed confusing and wrong so now all
sections of an allocated chunk are cleared with the alloc-blank
character.
- Fixed a couple of longer standing stupid bugs. Basically the
library was doing some pointer arithmetic assuming that the fence-post
settings were enabled. I'm surprised this worked on any
architectures. Thanks to Philippe for the feedback.
Dmalloc Home Page.
Copyright 2004 Gray Watson.