Files
asterisk/main
Richard Mudgett 3a9640b605 Add MALLOC_DEBUG enhancements.
* Makes malloc() behave like calloc().  It will return a memory block
filled with 0x55.  A nonzero value.

* Makes free() fill the released memory block and boundary fence's with
0xdeaddead.  Any pointer use after free is going to have a pointer
pointing to 0xdeaddead.  The 0xdeaddead pointer is usually an invalid
memory address so a crash is expected.

* Puts the freed memory block into a circular array so it is not reused
immediately.

* When the circular array rotates out a memory block to the heap it checks
that the memory has not been altered from 0xdeaddead.

* Made the astmm_log message wording better.

* Made crash if the DO_CRASH menuselect option is enabled and something is
found.

* Fixed a potential alignment issue on 64 bit systems.
struct ast_region.data[] should now be aligned correctly for all
platforms.

* Extracted region_check_fences() from __ast_free_region() and
handle_memory_show().

* Updated handle_memory_show() CLI usage help.

Review: https://reviewboard.asterisk.org/r/2182/
........

Merged revisions 376029 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 376030 from http://svn.asterisk.org/svn/asterisk/branches/10
........

Merged revisions 376048 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@376049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-11-08 17:38:31 +00:00
..
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-03-24 02:42:42 +00:00
2012-09-21 17:14:59 +00:00
2012-11-08 17:38:31 +00:00
2012-09-22 20:43:30 +00:00
2012-11-08 17:38:31 +00:00
2012-10-02 23:23:30 +00:00
2012-09-22 20:43:30 +00:00
2012-06-15 16:20:16 +00:00
2012-07-06 15:31:52 +00:00
2012-11-02 21:01:33 +00:00
2012-10-18 14:17:40 +00:00
2012-11-07 19:15:26 +00:00
2012-06-15 16:20:16 +00:00
2012-10-18 14:17:40 +00:00
2012-08-21 19:04:32 +00:00
2012-03-22 19:51:16 +00:00
2012-10-02 01:47:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-10-18 14:17:40 +00:00
2012-10-18 14:17:40 +00:00
2012-03-22 19:51:16 +00:00
2012-10-18 14:17:40 +00:00
2012-10-02 01:47:16 +00:00
2012-08-30 14:23:28 +00:00
2012-06-15 16:20:16 +00:00
2012-10-02 01:47:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-10-18 14:17:40 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-10-18 14:17:40 +00:00
2012-10-14 21:56:13 +00:00
2012-04-28 01:33:49 +00:00
2012-10-18 14:17:40 +00:00
2012-06-15 16:20:16 +00:00
2012-11-07 19:15:26 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-11-07 19:15:26 +00:00
2012-09-25 23:10:22 +00:00
2012-06-15 16:20:16 +00:00
2012-09-21 17:14:59 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-09-21 17:14:59 +00:00
2012-06-15 16:20:16 +00:00
2012-09-21 17:14:59 +00:00
2012-06-15 16:20:16 +00:00
2012-07-30 23:26:51 +00:00
2012-10-18 14:17:40 +00:00
2012-06-15 16:20:16 +00:00
2012-11-08 17:38:31 +00:00
2012-06-15 16:20:16 +00:00
2012-11-04 00:48:24 +00:00