diff options
author | Eric Fiselier <eric@efcs.ca> | 2015-03-10 20:43:34 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2015-03-10 20:43:34 +0000 |
commit | e6cdf34116305bae21caeff1738625ce375bc196 (patch) | |
tree | 7b154bc1f9ac0d049048a17475b638ef126c6482 /libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr | |
parent | 8f6a115de96dcb777d388dd95efcd40d4139421e (diff) | |
download | bcm5719-llvm-e6cdf34116305bae21caeff1738625ce375bc196.tar.gz bcm5719-llvm-e6cdf34116305bae21caeff1738625ce375bc196.zip |
[libcxx] Fix PR21580 - Undefined behavior in readEncodedPointer()
Summary: This patch fixes a bug in `readEncodedPointer()` where it would read from memory that was not suitably aligned. This patch fixes it by using memcpy.
Reviewers: danalbert, echristo, compnerd, mclow.lists
Reviewed By: compnerd, mclow.lists
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D8179
llvm-svn: 231839
Diffstat (limited to 'libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr')
0 files changed, 0 insertions, 0 deletions