aboutsummaryrefslogtreecommitdiffstats
path: root/manual/memory.texi
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2012-10-18 08:25:03 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2012-10-18 08:25:03 +0530
commitb741de23e214763ba4ffcd95829315dd315897ea (patch)
treefb91b0f94ac731cffbda73c7c948158d0ece5a0b /manual/memory.texi
parentf9b9d9c9452f988d8d582a6ddb58fd4822b4c29d (diff)
downloadtermbaud-b741de23e214763ba4ffcd95829315dd315897ea.tar.gz
termbaud-b741de23e214763ba4ffcd95829315dd315897ea.tar.xz
termbaud-b741de23e214763ba4ffcd95829315dd315897ea.zip
Add note on free list pointers overwriting M_PERTURB bytes
Fixes BZ #12140.
Diffstat (limited to 'manual/memory.texi')
-rw-r--r--manual/memory.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/manual/memory.texi b/manual/memory.texi
index fba3a2cffe6..5b14aa69b92 100644
--- a/manual/memory.texi
+++ b/manual/memory.texi
@@ -706,7 +706,10 @@ to zero disables all use of @code{mmap}.
If non-zero, memory blocks are filled with values depending on some
low order bits of this parameter when they are allocated (except when
allocated by @code{calloc}) and freed. This can be used to debug the
-use of uninitialized or freed heap memory.
+use of uninitialized or freed heap memory. Note that this option does not
+guarantee that the freed block will have any specific values. It only
+guarantees that the content the block had before it was freed will be
+overwritten.
@end table
@end deftypefun