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

adjust array size so elements don't span a segment boundary #1211

Merged
merged 3 commits into from
Oct 17, 2022

Conversation

cracyc
Copy link
Contributor

@cracyc cracyc commented Oct 14, 2022

vb4 handles the array internally but uses the safearray function to allocate it. It expects padding at segment boundaries, without it it will run past the array end. I had to fix safearrayredim and destroydata to account for this but was only able to test redim.
probably fixes #1206

@cracyc
Copy link
Contributor Author

cracyc commented Oct 15, 2022

Latter commit fixes the popup dialogs getting hidden in the program from 1206.

@otya128 otya128 merged commit 496d65e into otya128:master Oct 17, 2022
@cracyc cracyc deleted the safearray branch October 17, 2022 15:21
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.

Old 16 bit application runs well but it crashed, when I try to open a file
2 participants