aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2012-09-25 01:22:01 -0400
committerBill Nottingham <notting@redhat.com>2012-11-15 17:07:01 -0500
commit2800b44ef390d2c7cd868a3e6196752e90862651 (patch)
tree5a4098d0779958a50021946b116adbe2ea6a91ab
parentcc325521d9280ebc617e6ab187fe5a3b3b517a39 (diff)
downloadinitscripts-2800b44ef390d2c7cd868a3e6196752e90862651.tar
initscripts-2800b44ef390d2c7cd868a3e6196752e90862651.tar.gz
initscripts-2800b44ef390d2c7cd868a3e6196752e90862651.tar.bz2
initscripts-2800b44ef390d2c7cd868a3e6196752e90862651.tar.xz
initscripts-2800b44ef390d2c7cd868a3e6196752e90862651.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))