]> git.eshelyaron.com Git - emacs.git/commit
Remove undefined behavior in OS X dumper.
authorPhilipp Stephani <phst@google.com>
Thu, 31 Mar 2016 21:10:40 +0000 (23:10 +0200)
committerJohn Wiegley <johnw@newartisans.com>
Sat, 9 Apr 2016 19:54:45 +0000 (12:54 -0700)
commitb57076929f0e904864e1457d5789f2fe6652fc84
tree7f2abba48a380899cfc6e164aa9914bc6dee5011
parent97211f3630d0f5b76a5416075f7c7182e1ee3abd
Remove undefined behavior in OS X dumper.

Found by Address Sanitizer.

* src/unexmacosx.c (unexec_write): Use Mach virtual memory API to
avoid undefined behavior when reading arbitrary memory.
src/unexmacosx.c