aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2012-09-25 01:22:01 -0400
committerBill Nottingham <notting@redhat.com>2012-09-25 01:22:01 -0400
commit06c22e76d45a5f8f2fd15fea6a8e7c9efa80962f (patch)
treedbfd06a0f332a5a264ab0127afd25783511c7f7f
parentc819f195a35a06ec2c0c14c3a7f7330a0c170c32 (diff)
downloadinitscripts-06c22e76d45a5f8f2fd15fea6a8e7c9efa80962f.tar
initscripts-06c22e76d45a5f8f2fd15fea6a8e7c9efa80962f.tar.gz
initscripts-06c22e76d45a5f8f2fd15fea6a8e7c9efa80962f.tar.bz2
initscripts-06c22e76d45a5f8f2fd15fea6a8e7c9efa80962f.tar.xz
initscripts-06c22e76d45a5f8f2fd15fea6a8e7c9efa80962f.zip
MALLOC_CHECK_ is not thread safe. Don't enable it by default even in debug mode. (#853175)
-rw-r--r--sysconfig/debug3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysconfig/debug b/sysconfig/debug
index 3a251fd4..4ae4e7b5 100644
--- a/sysconfig/debug
+++ b/sysconfig/debug
@@ -4,7 +4,8 @@
# 0: silently ignore errors
# 1: print diagnostics on stderr when an error is detected
# 2: call abort when an error is detected
-export MALLOC_CHECK_=1
+# Note: MALLOC_CHECK_ is not thread safe, enable at your own risk.
+# export MALLOC_CHECK_=1
# MALLOC_PERTURB_: initialize cleared memory to the specified value
export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))