diff options
author | Eric Fiselier <eric@efcs.ca> | 2015-03-10 23:43:34 +0300 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2015-03-10 23:43:34 +0300 |
commit | e6cdf34116305bae21caeff1738625ce375bc196 (patch) | |
tree | 7b154bc1f9ac0d049048a17475b638ef126c6482 /llgo | |
parent | 8f6a115de96dcb777d388dd95efcd40d4139421e (diff) |
[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 'llgo')
0 files changed, 0 insertions, 0 deletions