about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorrealmadsci <71108352+realmadsci@users.noreply.github.com>2021-03-04 13:33:06 -0500
committerrealmadsci <71108352+realmadsci@users.noreply.github.com>2021-03-15 12:07:22 -0700
commit96574854b34b42650190648014c7ca673cfd31ce (patch)
tree2119584b6deebcfdfa9d777ce98fdf995e657198 /src
parent281cd47c154e7cd642e76482f5f07e9f1584c561 (diff)
downloadafl++-96574854b34b42650190648014c7ca673cfd31ce.tar.gz
libqasan/malloc: Additional pointer checks
Add checks to free() and malloc_usable_size() to
verify (sort of) that the pointers are actually
pointing at valid allocated memory before dereferencing
them and using the chunk_begin struct info.

This will catch use-after-free and wildly bad pointers
a little bit earlier.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions