diff options
author | Scott Griepentrog <sgriepentrog@digium.com> | 2015-03-17 22:03:37 +0000 |
---|---|---|
committer | Scott Griepentrog <sgriepentrog@digium.com> | 2015-03-17 22:03:37 +0000 |
commit | f25b2653293d0d96479d3d83795f40828f0b7bb7 (patch) | |
tree | e5d152dcafb84793b3682913e9a35a4b3098a11b /main/utils.c | |
parent | 62cf2a2c02076e14792e5ded90942bc2b1b86961 (diff) |
core: Introduce chaos into memory allocations
Locate potential crashes by exercising seldom
used code paths. This patch introduces a new
define DEBUG_CHAOS, and mechanism to randomly
return an error condition from functions that
will seldom do so. Functions that handle the
allocation of memory get the first treatment.
Review: https://reviewboard.asterisk.org/r/4463/
........
Merged revisions 433060 from http://svn.asterisk.org/svn/asterisk/branches/13
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@433063 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/utils.c')
0 files changed, 0 insertions, 0 deletions