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

Resolve TFT Null Pointer issue. #471

Merged
merged 2 commits into from
Mar 6, 2023
Merged

Resolve TFT Null Pointer issue. #471

merged 2 commits into from
Mar 6, 2023

Conversation

lorne-maxim
Copy link
Contributor

See MSDK-1061. The TFT driver did not properly handle the case where there is no code/data placed in the .bin_storage section. The fix was to initialize the image data structure so that the number of bitmaps, fonts, and palettes are initialized to 0. All functions were then checked to make sure they confirmed the image ID they were asked to use was less than then number of objects.

…here there is no code/data placed in the .bin_storage section.
@lorne-maxim
Copy link
Contributor Author

/clang-format-run

@lorne-maxim lorne-maxim merged commit 4535900 into main Mar 6, 2023
@lorne-maxim lorne-maxim deleted the dev/tft_null_ptr branch March 6, 2023 23:52
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.

3 participants