diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-04-25 13:42:50 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-04-25 13:47:27 -0700 |
commit | 83b0fc30d4bd6799e9593685d1767dfe2b3648a7 (patch) | |
tree | 42b26f45f611a938e6f917ce1de167d9ef534d72 /lisp/emacs-lisp/nadvice.el | |
parent | 69947311d84a2572e8382e401ab97fdab25cb433 (diff) | |
download | emacs-83b0fc30d4bd6799e9593685d1767dfe2b3648a7.tar.gz |
Minor tweaks to recent UBSan-related fix
* src/alloc.c: No need to include stdalign.h; it’s pervasive.
(GC_STRING_OVERRUN_COOKIE_SIZE): Align to sdata’s alignment,
so that the code works even if alignof (sdata) exceeds 8.
Don’t require the cookie size to be 8, as this overly fattens
32-bit platforms and one DEADBEEF should be enough.
(GC_STRING_EXTRA): Omit now-unnecessary ‘verify’.
(allocate_string_data): Omit unnecessary cast.
Diffstat (limited to 'lisp/emacs-lisp/nadvice.el')
0 files changed, 0 insertions, 0 deletions