Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in data alignment. #676

Merged
merged 1 commit into from
Oct 22, 2016
Merged

Bug in data alignment. #676

merged 1 commit into from
Oct 22, 2016

Conversation

tfredian
Copy link
Contributor

The alignment macro used for aligning data when copying descriptors to a descriptor_xd produced undefined behavior because of incorrect used of parenthesis. This problem did not show up on any of gcc sanitize checkers and apparently only produced a problem with 64-bit builds for Windows. Even then it did not cause any problem except when MDSplus was used with Anaconda python 3.5 where it produced access violations.

This should fix #675 and #310 .

Very strange that it only seemed to show up with Anaconda python version 3.5 on Windows.

@tfredian tfredian merged commit 99b1c77 into alpha Oct 22, 2016
@tfredian tfredian deleted the twf-fix-pointer-alignment branch October 31, 2016 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken putData in alpha-7-1-49 64-bit windows 10
1 participant