]> git.eshelyaron.com Git - emacs.git/commit
Port dump_bitset_clear to -fsanitize=undefined
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 22 Apr 2019 03:36:56 +0000 (20:36 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 22 Apr 2019 04:16:26 +0000 (21:16 -0700)
commit4a5ed6b05a71593cda33af4da44f30eb84b51f30
tree68c8308ec6d6e027ed7a4410960a559fa36f65af
parentf67bc3f12b8ebe4ff0d133063e3c41ab772dbd45
Port dump_bitset_clear to -fsanitize=undefined

* src/pdumper.c (dump_bitset_clear):
Pacify -fsanitize=undefined by avoiding memset (NULL, x, 0),
which strictly speaking has undefined behavior although it
works on all production platforms I know.
src/pdumper.c