diff options
-rw-r--r-- | src/lib/libc/stdlib/malloc.3 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3 index 3ccd13cdd8..638bcc2b50 100644 --- a/src/lib/libc/stdlib/malloc.3 +++ b/src/lib/libc/stdlib/malloc.3 | |||
@@ -30,9 +30,9 @@ | |||
30 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 30 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
31 | .\" SUCH DAMAGE. | 31 | .\" SUCH DAMAGE. |
32 | .\" | 32 | .\" |
33 | .\" $OpenBSD: malloc.3,v 1.95 2016/04/03 09:31:45 otto Exp $ | 33 | .\" $OpenBSD: malloc.3,v 1.96 2016/10/07 12:59:04 otto Exp $ |
34 | .\" | 34 | .\" |
35 | .Dd $Mdocdate: April 3 2016 $ | 35 | .Dd $Mdocdate: October 7 2016 $ |
36 | .Dt MALLOC 3 | 36 | .Dt MALLOC 3 |
37 | .Os | 37 | .Os |
38 | .Sh NAME | 38 | .Sh NAME |
@@ -377,6 +377,11 @@ The pointer passed to | |||
377 | or | 377 | or |
378 | .Fn reallocarray | 378 | .Fn reallocarray |
379 | has been modified. | 379 | has been modified. |
380 | .It Dq chunk canary corrupted 0xhhhhllll | ||
381 | A byte after the requested size has been overwritten, | ||
382 | indicating a heap overflow. | ||
383 | The high word is the length of the chunk, | ||
384 | the low word is the offset at which corruption was detected. | ||
380 | .It Dq recursive call | 385 | .It Dq recursive call |
381 | An attempt was made to call recursively into these functions, i.e., from a | 386 | An attempt was made to call recursively into these functions, i.e., from a |
382 | signal handler. | 387 | signal handler. |