emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Undefined behavior in OS X unexec detected by ASan


From: Philipp Stephani
Subject: Undefined behavior in OS X unexec detected by ASan
Date: Sat, 02 Apr 2016 17:26:17 +0000

unexmacosx.c reads process memory directly, which tends to work in practice but is technically undefined behavior. I've attached a small patch that uses vm_read instead. According to ASan with this patch there's no more UB when dumping.

Attachment: 0001-Remove-undefined-behavior-in-OS-X-dumper.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]