diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-08-06 18:39:20 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-08-06 18:39:58 -0700 |
commit | 220f16cab6c40a1b0df1a5d2101c6602abbc6aae (patch) | |
tree | 7869f939e211266640238e249700c8dad6ed8c09 /test/lisp/emacs-lisp | |
parent | d9d58555d9de034ed78c61b054ef4c127dfad289 (diff) | |
download | emacs-220f16cab6c40a1b0df1a5d2101c6602abbc6aae.tar.gz |
Re-port dump_bitset_clear to -fsanitize=undefined
* src/pdumper.c (dump_bitset_clear): Skip the memset if the
size is zero, because in that case the destination might be NULL.
This fixes a bug introduced in 2019-07-26T06:17:52Zeggert@cs.ucla.edu.
Add a comment to make the bug less likely to reoccur.
Diffstat (limited to 'test/lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions