diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-07-30 12:35:26 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-07-30 12:35:26 -0600 |
commit | 3792bd7611df7343c1bad6119a07bd14296c9ba6 (patch) | |
tree | 057c1b0a1c6f79576eaabaf558eb35642878b75f /python/servo | |
parent | 14947172d63d639d65461533ba1f43e87e399b1b (diff) | |
parent | b42117fe0cfd0e21a69a32b610e0f1f690d79e00 (diff) | |
download | servo-3792bd7611df7343c1bad6119a07bd14296c9ba6.tar.gz servo-3792bd7611df7343c1bad6119a07bd14296c9ba6.zip |
Auto merge of #6852 - huonw:fix-alignment, r=pcwalton
Avoid undefined behaviour by allocating with align 1.
The allocation APIs require that the alignment is a power-of-two;
meaning 1 is the "I don't care" alignment, not 0.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6852)
<!-- Reviewable:end -->
Diffstat (limited to 'python/servo')
0 files changed, 0 insertions, 0 deletions