[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/asan-gc-poisoning 5b12778507: ; src/alloc.c: Use the correct pre
From: |
Vibhav Pant |
Subject: |
feature/asan-gc-poisoning 5b12778507: ; src/alloc.c: Use the correct preprocessor check for ASan poisoning |
Date: |
Sat, 3 Dec 2022 09:59:07 -0500 (EST) |
branch: feature/asan-gc-poisoning
commit 5b12778507ce83df91999faeed39866d72325936
Author: Vibhav Pant <vibhavp@gmail.com>
Commit: Vibhav Pant <vibhavp@gmail.com>
; src/alloc.c: Use the correct preprocessor check for ASan poisoning
---
src/alloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/alloc.c b/src/alloc.c
index 4d09f0f0f5..65193cdb80 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -5105,7 +5105,7 @@ live_float_holding (struct mem_node *m, void *p)
|| offset / sizeof b->floats[0] < float_block_index))
{
struct Lisp_Float *f = (struct Lisp_Float *) cp - off;
-#ifdef GC_ASAN_POISON_OBJECTS
+#if GC_ASAN_POISON_OBJECTS
if (__asan_region_is_poisoned (f, sizeof (*f)))
return NULL;
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- feature/asan-gc-poisoning 5b12778507: ; src/alloc.c: Use the correct preprocessor check for ASan poisoning,
Vibhav Pant <=