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

fix: TypeEncoding might be initialized with random data #144

Merged

Conversation

edusperoni
Copy link
Collaborator

@edusperoni edusperoni commented Feb 7, 2022

I don't believe this is the definite fix. The correct fix would be for each TypeEncoding type to initialize it's own struct with the proper values instead of relying on them to be "0" or "nil".

Other places that use PtrTo<> should be investigated as well as they might contain garbage data ocasionally

@cla-bot cla-bot bot added the cla: yes label Feb 7, 2022
@NathanWalker NathanWalker changed the base branch from master to release/8-2 February 9, 2022 17:17
@NathanWalker NathanWalker merged commit 454bac2 into NativeScript:release/8-2 Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants