diff options
author | 2016-10-07 12:59:04 +0000 | |
---|---|---|
committer | 2016-10-07 12:59:04 +0000 | |
commit | 5d9c53f0e59795b48e5f198ec76dd4e6d16f89e2 (patch) | |
tree | f5b8571b39bad33f9293197f9a90c5e2cf5cbaf0 /lib/libc/stdlib/malloc.3 | |
parent | Add a few tips on setting up hvn(4) interfaces (diff) | |
download | wireguard-openbsd-5d9c53f0e59795b48e5f198ec76dd4e6d16f89e2.tar.xz wireguard-openbsd-5d9c53f0e59795b48e5f198ec76dd4e6d16f89e2.zip |
document "chunk canary corrupted" error
Diffstat (limited to 'lib/libc/stdlib/malloc.3')
-rw-r--r-- | lib/libc/stdlib/malloc.3 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3 index 3ccd13cdd8e..638bcc2b50f 100644 --- a/lib/libc/stdlib/malloc.3 +++ b/lib/libc/stdlib/malloc.3 @@ -30,9 +30,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: malloc.3,v 1.95 2016/04/03 09:31:45 otto Exp $ +.\" $OpenBSD: malloc.3,v 1.96 2016/10/07 12:59:04 otto Exp $ .\" -.Dd $Mdocdate: April 3 2016 $ +.Dd $Mdocdate: October 7 2016 $ .Dt MALLOC 3 .Os .Sh NAME @@ -377,6 +377,11 @@ The pointer passed to or .Fn reallocarray has been modified. +.It Dq chunk canary corrupted 0xhhhhllll +A byte after the requested size has been overwritten, +indicating a heap overflow. +The high word is the length of the chunk, +the low word is the offset at which corruption was detected. .It Dq recursive call An attempt was made to call recursively into these functions, i.e., from a signal handler. |