Browse Source

make clear the length printed is the requested length

OPENBSD_6_1
otto 8 years ago
parent
commit
1ae413d0f7
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/lib/libc/stdlib/malloc.3

+ 3
- 3
src/lib/libc/stdlib/malloc.3 View File

@ -30,9 +30,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: malloc.3,v 1.97 2016/10/07 14:43:13 jmc Exp $
.\" $OpenBSD: malloc.3,v 1.98 2016/10/08 12:56:18 otto Exp $
.\" .\"
.Dd $Mdocdate: October 7 2016 $
.Dd $Mdocdate: October 8 2016 $
.Dt MALLOC 3 .Dt MALLOC 3
.Os .Os
.Sh NAME .Sh NAME
@ -380,7 +380,7 @@ has been modified.
.It Dq chunk canary corrupted 0xhhhhllll .It Dq chunk canary corrupted 0xhhhhllll
A byte after the requested size has been overwritten, A byte after the requested size has been overwritten,
indicating a heap overflow. indicating a heap overflow.
The high word is the length of the chunk;
The high word is the requested length of the chunk;
the low word is the offset at which corruption was detected. the low word is the offset at which corruption was detected.
.It Dq recursive call .It Dq recursive call
An attempt was made to call recursively into these functions, i.e., from a An attempt was made to call recursively into these functions, i.e., from a


Loading…
Cancel
Save