diff options
| author | Philipp Stephani | 2020-08-01 16:58:06 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2020-08-01 17:01:00 +0200 |
| commit | a2323c7ccb0eab1b6395d5d1d7e18db617354e13 (patch) | |
| tree | b70cda01788d1391dc6fddcfff68342b45ad2de1 /src/bytecode.c | |
| parent | 91d539b0772d4b2a6bdc3fbccf92dc1fcc7f747a (diff) | |
| download | emacs-a2323c7ccb0eab1b6395d5d1d7e18db617354e13.tar.gz emacs-a2323c7ccb0eab1b6395d5d1d7e18db617354e13.zip | |
Suppress sanitizer errors about pointer arithmetic in a few places
We perform weird pointer arithmetic due to the layout of Lisp_Objects
holding symbols. ASan/UBSan warns about that (Bug#42530). Suppress
the warnings by performing the arithmetic on integer types and casting
back to pointers.
* src/alloc.c (mark_maybe_object, mark_memory): Temporarily cast
pointer to 'intptr_t'.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions