diff options
author | llzmb <46303940+llzmb@users.noreply.github.com> | 2021-08-31 21:19:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-31 21:19:04 +0200 |
commit | 9747ac42213126ec99fe8ea47f1320be54135bd1 (patch) | |
tree | 677b0cf3143a1964134a67a1922b70dc20f6be19 /qemu_mode/libqasan/malloc.c | |
parent | ec4cae448b10acc0a8c84fc75f298bfaed88195a (diff) | |
parent | fe5b2c355f097705bf0bd7b35b0484b16f87964f (diff) | |
download | afl++-9747ac42213126ec99fe8ea47f1320be54135bd1.tar.gz |
Merge branch 'dev' into docs_edit_readme_move_content_to_docs
Diffstat (limited to 'qemu_mode/libqasan/malloc.c')
-rw-r--r-- | qemu_mode/libqasan/malloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu_mode/libqasan/malloc.c b/qemu_mode/libqasan/malloc.c index 6fe6fc8c..5893a4e5 100644 --- a/qemu_mode/libqasan/malloc.c +++ b/qemu_mode/libqasan/malloc.c @@ -106,7 +106,7 @@ static pthread_spinlock_t quarantine_lock; #endif // need qasan disabled -static int quanratine_push(struct chunk_begin *ck) { +static int quarantine_push(struct chunk_begin *ck) { if (ck->requested_size >= QUARANTINE_MAX_BYTES) return 0; @@ -236,7 +236,7 @@ void __libqasan_free(void *ptr) { QASAN_STORE(ptr, n); int state = QASAN_SWAP(QASAN_DISABLED); // disable qasan for this thread - if (!quanratine_push(p)) { + if (!quarantine_push(p)) { if (p->aligned_orig) backend_free(p->aligned_orig); |