summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2015-03-10 20:43:34 +0000
committerEric Fiselier <eric@efcs.ca>2015-03-10 20:43:34 +0000
commite6cdf34116305bae21caeff1738625ce375bc196 (patch)
tree7b154bc1f9ac0d049048a17475b638ef126c6482 /libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr
parent8f6a115de96dcb777d388dd95efcd40d4139421e (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud