mirror of
https://github.com/opnsense/src.git
synced 2026-06-12 18:20:49 -04:00
kassert: Further remove KASAN integration from DEBUG_POISON_POINTER
Fixes: 47112d359b ("kassert: Remove KASAN marking from DEBUG_POISON_POINTER")
This commit is contained in:
parent
47112d359b
commit
afd096326a
1 changed files with 1 additions and 5 deletions
|
|
@ -47,14 +47,10 @@ extern const char *panicstr; /* panic message */
|
|||
*
|
||||
* DEBUG_POISON_POINTER(obj->ptr);
|
||||
* ....
|
||||
* if (obj->ptr != NULL) // traps with kasan, does not trap otherwise
|
||||
* ....
|
||||
* if (obj->ptr->field) // traps with and without kasan
|
||||
* if (obj->ptr->field) // traps
|
||||
*/
|
||||
#ifdef INVARIANTS
|
||||
|
||||
#include <sys/asan.h>
|
||||
|
||||
extern caddr_t poisoned_buf;
|
||||
#define DEBUG_POISON_POINTER_VALUE poisoned_buf
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue