summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2020-08-01 16:58:06 +0200
committerPhilipp Stephani <phst@google.com>2020-08-01 17:01:00 +0200
commita2323c7ccb0eab1b6395d5d1d7e18db617354e13 (patch)
treeb70cda01788d1391dc6fddcfff68342b45ad2de1 /src/buffer.c
parent91d539b0772d4b2a6bdc3fbccf92dc1fcc7f747a (diff)
downloademacs-a2323c7ccb0eab1b6395d5d1d7e18db617354e13.tar.gz
emacs-a2323c7ccb0eab1b6395d5d1d7e18db617354e13.tar.bz2
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/buffer.c')
0 files changed, 0 insertions, 0 deletions