OSDN Git Service

Print the corrupted address passed to free().
authorBen Cheng <bccheng@google.com>
Thu, 24 May 2012 23:56:53 +0000 (16:56 -0700)
committerBen Cheng <bccheng@google.com>
Fri, 25 May 2012 00:06:43 +0000 (17:06 -0700)
commitc84ff11dad26435dc5760bceda18e8f1175a6061
treeb98c5e82098b71100b9ccf082b9913628d77142a
parent08e72d0161e39e99ff1003bf1ce894f37d7b7eb4
Print the corrupted address passed to free().

For example:

@@@ ABORTING: INVALID HEAP ADDRESS IN dlfree addr=0x5c3bfbd0
Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 2942

The addr=0x5c3bfbd0 part is new.

Change-Id: I8670144b2b0a3a6182384150d762c97dfee5452f
libc/bionic/dlmalloc.c